summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-11-12 21:19:31 +0300
committerJonathan Cameron <jic23@kernel.org>2016-11-13 16:07:27 +0300
commita8898dced810013440cb5eaf7a86f8e30d2ab34c (patch)
treefcd02106f349534dd7dd6450792aea7fc78ec669 /include/linux
parented9125566b80af9f944fdbc69bb3720f786324cb (diff)
downloadlinux-a8898dced810013440cb5eaf7a86f8e30d2ab34c.tar.xz
staging: iio: tsl2583: change tsl2583_als_calibrate() to return 0 on success
tsl2583_als_calibrate() returns the newly computed gain_trim if the calibration was successful. This function is only called by in_illuminance_calibrate_store() and the return value inside that sysfs attribute is only checked to see if an error was returned. This patch changes tsl2583_als_calibrate() to return 0 on success. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions