diff options
author | Harinath Nampally | 2017-09-25 12:40:08 +0200 |
---|---|---|
committer | Jonathan Cameron | 2017-10-09 21:49:49 +0200 |
commit | 4febd9f184961031a42a65163d7cd049c563530f (patch) | |
tree | 8b61a7bbd38b955e1826c7eabaaa229f19355379 /init | |
parent | iio: adc: sun4i-gpadc-iio: do not fail probing when no thermal DT node (diff) | |
download | kernel-qcow2-linux-4febd9f184961031a42a65163d7cd049c563530f.tar.gz kernel-qcow2-linux-4febd9f184961031a42a65163d7cd049c563530f.tar.xz kernel-qcow2-linux-4febd9f184961031a42a65163d7cd049c563530f.zip |
iio: accel: mma8452: Rename read/write event value callbacks to generic function name.
'mma8452_read_thresh' and 'mma8452_write_thresh' functions
does more than just read/write threshold values.
They also handle IIO_EV_INFO_HIGH_PASS_FILTER_3DB and
IIO_EV_INFO_PERIOD therefore renaming to generic names.
Improves code readability, no impact on functionality.
Signed-off-by: Harinath Nampally <harinath922@gmail.com>
Acked-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions