iio: light: fix error handling for LTR558
authorShridhar Rasal <srasal@nvidia.com>
Fri, 15 Jun 2012 09:13:33 +0000 (14:13 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 12 Jul 2012 04:42:08 +0000 (09:42 +0530)
commit345ef0690b31ca5dc4176db7a7662e826378dd56
treedc0dffa851fb6941544f792ea0af5cf8900ab33d
parented97f2652b9f755cacafd6809ec5a1e92af45700
iio: light: fix error handling for LTR558

Change-Id: I34748241728bb0bab1861f8abacffdfe2939740f
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/109158
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
drivers/staging/iio/light/ltr558als.c