Re: [PATCH 1/5] gpio: pca954x: fix undefined error code from remove

2016-09-07 Thread Linus Walleij
On Fri, Aug 26, 2016 at 5:25 PM, Arnd Bergmann wrote: > The recent addition of the regulator support has led to the pca953x_remove > function returning uninitialized data when no platform data pointer is > provided, as gcc warns when using -Wmaybe-uninitialized: > > drivers/gpio/gpio-pca953x.c: I

Re: [PATCH 1/5] gpio: pca954x: fix undefined error code from remove

2016-08-26 Thread Phil Reid
On 26/08/2016 23:25, Arnd Bergmann wrote: The recent addition of the regulator support has led to the pca953x_remove function returning uninitialized data when no platform data pointer is provided, as gcc warns when using -Wmaybe-uninitialized: drivers/gpio/gpio-pca953x.c: In function 'pca953x_r