Re: [PATCH] v4l: mt9v032: Remove unneeded gpiod NULL check

2017-01-30 Thread Sakari Ailus
On Thu, Jan 19, 2017 at 01:32:20AM +0200, Laurent Pinchart wrote: > The gpiod API checks for NULL descriptors, there's no need to duplicate > the check in the driver. > > Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiis

[PATCH] v4l: mt9v032: Remove unneeded gpiod NULL check

2017-01-18 Thread Laurent Pinchart
The gpiod API checks for NULL descriptors, there's no need to duplicate the check in the driver. Signed-off-by: Laurent Pinchart --- drivers/media/i2c/mt9v032.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/i2c/mt9v032.c b/drivers/media/i2c/mt9v032.c index 5