diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-07 15:11:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-12 13:04:22 +0100 |
commit | ec87197fb8518ce3f95a96d66355d01d83376617 (patch) | |
tree | b2084f5b60de018d4846703cd2d88a924448e5b8 /drivers/iio/industrialio-buffer.c | |
parent | ba1d79613df3e9c015ac695a22b12a6eb413794f (diff) | |
download | op-kernel-dev-ec87197fb8518ce3f95a96d66355d01d83376617.zip op-kernel-dev-ec87197fb8518ce3f95a96d66355d01d83376617.tar.gz |
staging:iio:ad7291: Use event spec for threshold hysteresis
Register the event threshold hysteresis attributes by using the new
IIO_EV_INFO_HYSTERESIS event spec type. This allows us to throw away a good
portion of boiler-plate code.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-buffer.c')
0 files changed, 0 insertions, 0 deletions