diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2013-01-10 16:18:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-26 10:07:46 +0000 |
| commit | 3f6a0bad61e34c648fd08ff8dcbfdd58148963d2 (patch) | |
| tree | 5be7685f8e1fc99136a732ae844971174a4d4f70 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 06ddd353f5c8678238d519dcecf9d557e5e1f7a6 (diff) | |
staging:iio:tsl2x7x: Use iio_str_to_fixedpoint instead of open-coding it
The tsl2x7x driver has a copy'n'pasted version of the iio_str_to_fixedpoint()
function from the IIO core. Replace this custom copy and use
iio_str_to_fixedpoint instead.
The patch also introduces a slight functional change in that it makes sure that
in case of a parsing error the error is reported back to userspace instead of
silently ignoring it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jon Brenner <jon.brenner@ams.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
