Re: [PATCH] gpio: davinci: fix build warning when !CONFIG_OF

2018-05-30 Thread Linus Walleij
On Tue, May 29, 2018 at 4:51 PM, Sekhar Nori wrote: > This nukes the following warning that is seen when building without > OF support: > > drivers/gpio/gpio-davinci.c:437:25: warning: ‘keystone_gpio_get_irq_chip’ > defined but not used [-Wunused-function] > static struct irq_chip

Re: [PATCH] gpio: davinci: fix build warning when !CONFIG_OF

2018-05-30 Thread Linus Walleij
On Tue, May 29, 2018 at 4:51 PM, Sekhar Nori wrote: > This nukes the following warning that is seen when building without > OF support: > > drivers/gpio/gpio-davinci.c:437:25: warning: ‘keystone_gpio_get_irq_chip’ > defined but not used [-Wunused-function] > static struct irq_chip

[PATCH] gpio: davinci: fix build warning when !CONFIG_OF

2018-05-29 Thread Sekhar Nori
This nukes the following warning that is seen when building without OF support: drivers/gpio/gpio-davinci.c:437:25: warning: ‘keystone_gpio_get_irq_chip’ defined but not used [-Wunused-function] static struct irq_chip *keystone_gpio_get_irq_chip(unsigned int irq)

[PATCH] gpio: davinci: fix build warning when !CONFIG_OF

2018-05-29 Thread Sekhar Nori
This nukes the following warning that is seen when building without OF support: drivers/gpio/gpio-davinci.c:437:25: warning: ‘keystone_gpio_get_irq_chip’ defined but not used [-Wunused-function] static struct irq_chip *keystone_gpio_get_irq_chip(unsigned int irq)