diff options
| author | Brian Masney <[email protected]> | 2016-10-28 06:00:20 -0400 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-11-01 18:50:08 +0000 |
| commit | f375a49f710535b0ac2923274e2a33f04e02514d (patch) | |
| tree | 7ba1dbac256f4433ae89de0b60af245e6546f017 /tools/perf/scripts/python/bin | |
| parent | b2fa81be96ca315a164ef7bc1d87fbf025fd9954 (diff) | |
staging: iio: tsl2583: add error code to sysfs store functions
in_illuminance_input_target_store() and in_illuminance_calibrate_store()
validated the data from userspace, however it would not return an
error code to userspace if an invalid value was passed in. This patch
changes these functions so that they return -EINVAL if invalid data is
passed in.
Signed-off-by: Brian Masney <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions