From: Octavian Purdila Date: Tue, 3 Mar 2015 16:17:58 +0000 (+0200) Subject: iio: bmc150: introduce bmc150_accel_trigger X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~102^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d963215f6bedd268fa26aadd4ca4270e1076566;p=pandora-kernel.git 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 Acked-by: Srinivas Pandruvada Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed