commit | ba1d79613df3e9c015ac695a22b12a6eb413794f | [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 13:02:19 2013 +0100 |
tree | bc8aa603a986ac26773f39867343ed75bba9392f | |
parent | 69582b888408cb218a6b346c345db7a66046497b [diff] |
staging:iio:ad799x: 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>