iio: light: fix error handling for LTR558
authorShridhar Rasal <srasal@nvidia.com>
Fri, 15 Jun 2012 09:13:33 +0000 (14:13 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Mon, 18 Jun 2012 15:22:48 +0000 (08:22 -0700)
commit97d9070b427f98596224fe876149027ed15e8eed
tree9bf3654ae382996ed72fab9f114bcb739653ac7c
parent3deb1f094fa06f10fb905d71ac5c8425fb0a6c21
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