]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: mt9v032: Remove unneeded gpiod NULL check
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 26 Jan 2016 18:11:51 +0000 (16:11 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 13:54:15 +0000 (11:54 -0200)
commit34abe8d7767a4c06cbe200f7c1311a2c123bc7c8
tree08871c215d6ef4c30e538ccebf48204a8644dc4c
parent73b6a66d0a2ee0694fcd552fb9e29401c777f5d1
[media] v4l: mt9v032: Remove unneeded gpiod NULL check

The gpiod API checks for NULL descriptors, there's no need to duplicate
the check in the driver.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/mt9v032.c