iio: accel: mma9553: add enable channel for activity
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 13 Apr 2015 15:40:51 +0000 (18:40 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 26 Apr 2015 18:41:59 +0000 (19:41 +0100)
commitae2ec9597c9329fdf503af264966bc7e421daa58
treeedf1014d3d564cc45af7e694d1700472f9bc5074
parent2a4d20322d1c619ae2f07378d5b360e85f562c98
iio: accel: mma9553: add enable channel for activity

Add an enable channel for activity, so it can also
be polled independently of events or other channels.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Reported-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma9553.c