Srinivas Pandruvada 56ff6be608 iio: hid-sensors: Add API to power on/off
Added an API to allow client drivers to turn ON and OFF sensors for
quick read. Added data_read as counting varaible instead of boolean,
so that sensor is powered off only when last user released it.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-05-05 10:59:49 +01:00
..
2014-04-05 15:37:40 -07:00
2014-04-29 21:58:15 +01:00
2014-04-05 15:37:40 -07:00
2014-04-18 16:57:53 -07:00
2014-04-24 23:46:58 +02:00
2014-04-08 13:27:40 +02:00
2014-04-22 09:28:02 -07:00
2014-04-17 10:51:01 -07:00
2014-04-09 08:39:39 -07:00
2014-04-16 12:28:47 -07:00
2014-04-09 08:39:39 -07:00
2014-04-18 16:40:08 -07:00
2014-04-15 15:21:22 -05:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-04-05 15:37:40 -07:00
2014-04-21 14:28:40 -07:00
2014-04-05 15:38:41 -07:00
2014-04-03 14:05:02 -07:00
2014-04-16 14:07:51 -07:00