commit | ec6670ae53c13d767bdb7b3e37755ad661395380 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Oct 07 15:11:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Oct 12 12:51:35 2013 +0100 |
tree | fbe793a33031e7aed145f84d096b7a68cde915cf | |
parent | 3ea48e01247f07185480e82a79c201df9d905f50 [diff] |
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>