]> asedeno.scripts.mit.edu Git - linux.git/commit
media: staging: atomisp: Remove duplicate NULL-check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Dec 2017 20:59:49 +0000 (15:59 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 29 Dec 2017 11:25:04 +0000 (06:25 -0500)
commit6aebb3c6da805efa4cafaad30452114a6573b6d5
tree5fa15d2ca3c0e8b8706ee0c75680851feded995b
parentcae8b2e138fab548c9a55f022f8bab4cba300414
media: staging: atomisp: Remove duplicate NULL-check

GPIO framework checks for NULL pointer when gpiod_set_value() is called.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c