]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf97a29603cba1b6773e2a6d07e94d42b0fc3be5e
treefbe793a33031e7aed145f84d096b7a68cde915cf
parent19c71338377f3da3e6869d03e610c86fd0a9c146
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