iio: Add a hysteresis event info attribute
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 7 Oct 2013 14:11:00 +0000 (15:11 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 12 Oct 2013 11:51:35 +0000 (12:51 +0100)
commitec6670ae53c13d767bdb7b3e37755ad661395380
treefbe793a33031e7aed145f84d096b7a68cde915cf
parent3ea48e01247f07185480e82a79c201df9d905f50
iio: Add a hysteresis event info attribute

For some devices it is possible to configure a hysteresis for threshold (or
similar) events. This patch adds a new hysteresis event info type which allows
for easy creation and read/write handling of the sysfs attribute.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio
drivers/iio/industrialio-event.c
include/linux/iio/types.h