diff options
author | 2016-11-12 13:19:31 -0500 | |
---|---|---|
committer | 2016-11-13 13:07:27 +0000 | |
commit | a8898dced810013440cb5eaf7a86f8e30d2ab34c (patch) | |
tree | fcd02106f349534dd7dd6450792aea7fc78ec669 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: iio: tsl2583: moved code block inside else statement (diff) | |
download | wireguard-linux-a8898dced810013440cb5eaf7a86f8e30d2ab34c.tar.xz wireguard-linux-a8898dced810013440cb5eaf7a86f8e30d2ab34c.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions