[media] media: i2c/adp1653: probe: fix erroneous return value
authorAnton Protopopov <a.s.protopopov@gmail.com>
Sun, 7 Feb 2016 04:27:32 +0000 (02:27 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 11:27:29 +0000 (09:27 -0200)
commitb888d232142c0ac111c7e82d1731c6fbd56fc1fe
treea41ca9d6dd01e20fc8f35aa08a48a5bd6aa1d06a
parent4f388a9210e2a2c1cd83a5580b74aa13876dbf14
[media] media: i2c/adp1653: probe: fix erroneous return value

The adp1653_probe() function may return positive value EINVAL
which is obviously wrong.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adp1653.c