commit | 806f8ffa8a0fa9a6f0481c5648c27aa51d10fdc6 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Mon Mar 07 15:39:32 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri May 06 15:39:17 2016 -0300 |
tree | e233de2466d61295a45e07558c4a253fc59d6da9 | |
parent | e8364275f9a34481c9a38be757b675f8d1689d46 [diff] |
[media] media: i2c/adp1653: fix check of devm_gpiod_get() error code 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 <vz@mleia.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>