Re: [PATCH] media: i2c/adp1653: fix check of devm_gpiod_get() error code

2016-03-09 Thread Sakari Ailus
Hi Vladimir, On Mon, Mar 07, 2016 at 08:39:32PM +0200, Vladimir Zapolskiy wrote: > The devm_gpiod_get() function returns either a valid pointer to > struct gpio_desc or ERR_PTR() error value, check for NULL is bogus. > > Signed-off-by: Vladimir Zapolskiy Thanks! Applied to my fixes branch. --

[PATCH] media: i2c/adp1653: fix check of devm_gpiod_get() error code

2016-03-07 Thread Vladimir Zapolskiy
The devm_gpiod_get() function returns either a valid pointer to struct gpio_desc or ERR_PTR() error value, check for NULL is bogus. Signed-off-by: Vladimir Zapolskiy --- drivers/media/i2c/adp1653.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/adp1653.