gpio: bcm-kona: Drop unused pdev member in private data structure

The pdev member is assigned and not used, drop it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Andy Shevchenko 2023-07-19 01:30:55 +03:00 committed by Bartosz Golaszewski
parent ec72293cc2
commit 91093b57ee
1 changed files with 0 additions and 2 deletions

View File

@ -64,7 +64,6 @@ struct bcm_kona_gpio {
struct gpio_chip gpio_chip;
struct irq_domain *irq_domain;
struct bcm_kona_gpio_bank *banks;
struct platform_device *pdev;
};
struct bcm_kona_gpio_bank {
@ -591,7 +590,6 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev)
if (!kona_gpio->banks)
return -ENOMEM;
kona_gpio->pdev = pdev;
chip->parent = dev;
chip->ngpio = kona_gpio->num_bank * GPIO_PER_BANK;