diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-03-07 15:39:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-06 15:39:17 -0300 |
commit | 806f8ffa8a0fa9a6f0481c5648c27aa51d10fdc6 (patch) | |
tree | e233de2466d61295a45e07558c4a253fc59d6da9 /Documentation | |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions