commit | 43c0364551d3ca0042f6f6a3da701edf1143d62f | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Nov 02 09:40:00 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Nov 26 16:39:58 2011 -0800 |
tree | 39d7284537763aa1334d87cdcdd22ac052d36197 | |
parent | 685e010748f64a752a981254101e976d7291d16c [diff] |
staging:iio: Make write_event_value callback optional Some devices have fixed thresholds which can not be modified so make the write_event_value callback optional, so the drivers for these devices do not have to implement a boilerplate no-op callback. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>