Re: [PATCH] gpiolib: fix callers of gpiochip_remove

2014-09-30 Thread Arnd Bergmann
On Tuesday 30 September 2014 16:11:28 Linus Walleij wrote: > On Tue, Sep 30, 2014 at 3:24 PM, Arnd Bergmann wrote: > > > A recent API change made gpiochip_remove return void instead of an > > error value, which broke drivers that use this return value: > > > > gpio/gpio-sch311x.c: In function 'sc

Re: [PATCH] gpiolib: fix callers of gpiochip_remove

2014-09-30 Thread Linus Walleij
On Tue, Sep 30, 2014 at 3:24 PM, Arnd Bergmann wrote: > A recent API change made gpiochip_remove return void instead of an > error value, which broke drivers that use this return value: > > gpio/gpio-sch311x.c: In function 'sch311x_gpio_probe': > gpio/gpio-sch311x.c:286:7: error: void value not i

[PATCH] gpiolib: fix callers of gpiochip_remove

2014-09-30 Thread Arnd Bergmann
A recent API change made gpiochip_remove return void instead of an error value, which broke drivers that use this return value: gpio/gpio-sch311x.c: In function 'sch311x_gpio_probe': gpio/gpio-sch311x.c:286:7: error: void value not ignored as it ought to be if (gpiochip_remove(&priv->blocks[i].