mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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:
parent
ec72293cc2
commit
91093b57ee
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user