From: Wei Yongjun Date: Tue, 7 May 2013 11:51:00 +0000 (+0100) Subject: staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe() X-Git-Tag: v3.10-rc3~23^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b813798aa7030f1beef638c75f8b0008f737a82;p=pandora-kernel.git staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe() Fix to return -EINVAL in the i2c device found error handling case instead of 0, as done elsewhere in this function. And also correct the fail1 and fail2 lable to do the right thing. Signed-off-by: Wei Yongjun Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed