commit | 7d963215f6bedd268fa26aadd4ca4270e1076566 | [log] [tgz] |
---|---|---|
author | Octavian Purdila <[email protected]> | Tue Mar 03 18:17:58 2015 +0200 |
committer | Jonathan Cameron <[email protected]> | Sat Mar 14 18:56:16 2015 +0000 |
tree | 7c44d7240ae6f1a13c4fdcdd3aa0460be99e7dbf | |
parent | 3e825ec98d36c8c8073024c95853389a831902e5 [diff] |
iio: bmc150: introduce bmc150_accel_trigger Add a separate structure for triggers and add the infrastructure to support an arbitrary number of triggers. Each trigger is associated with an interrupt and has an enabled/disabled state. Signed-off-by: Octavian Purdila <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>