Commit 91093b57 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Bartosz Golaszewski

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

The pdev member is assigned and not used, drop it.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent ec72293c
...@@ -64,7 +64,6 @@ struct bcm_kona_gpio { ...@@ -64,7 +64,6 @@ struct bcm_kona_gpio {
struct gpio_chip gpio_chip; struct gpio_chip gpio_chip;
struct irq_domain *irq_domain; struct irq_domain *irq_domain;
struct bcm_kona_gpio_bank *banks; struct bcm_kona_gpio_bank *banks;
struct platform_device *pdev;
}; };
struct bcm_kona_gpio_bank { struct bcm_kona_gpio_bank {
...@@ -591,7 +590,6 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev) ...@@ -591,7 +590,6 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev)
if (!kona_gpio->banks) if (!kona_gpio->banks)
return -ENOMEM; return -ENOMEM;
kona_gpio->pdev = pdev;
chip->parent = dev; chip->parent = dev;
chip->ngpio = kona_gpio->num_bank * GPIO_PER_BANK; chip->ngpio = kona_gpio->num_bank * GPIO_PER_BANK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment