commit | 8e22f477e1432ace88b762f5f66e0f96631a1462 | [log] [tgz] |
---|---|---|
author | Octavian Purdila <octavian.purdila@intel.com> | Sat Jan 31 02:00:04 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Feb 08 10:38:10 2015 +0000 |
tree | 427e8840927f83866ecc8e078f6ec893d7586e60 | |
parent | 802a3aef30917cc20279d17fe4d0e8568d5c7814 [diff] |
iio: bmc150: refactor interrupt enabling This patch combines the any motion and new data interrupts function into a single, generic, interrupt enable function. On top of this, we can later refactor triggers to make it easier to add new triggers. Signed-off-by: Octavian Purdila <octavian.purdila@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>