iio: mma8452: add freefall / motion interrupt source
authorMartin Kepplinger <martink@posteo.de>
Tue, 1 Sep 2015 11:45:10 +0000 (13:45 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Sep 2015 19:23:21 +0000 (20:23 +0100)
commit60f562e74e75716cc121cc7adb2dcb43c17709bf
tree37d65a733e13477204a4dd27118c2dd33490eb5a
parentc5ea1b58e8f51d8cd72e46cc398742988a614054
iio: mma8452: add freefall / motion interrupt source

This adds the freefall / motion interrupt source definitions to the driver.
It is used in this series' next patch, for chips that don't support the
transient interrupt source.

Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma8452.c