diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-04-19 00:22:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-05-05 10:59:49 +0100 |
commit | 56ff6be608659ac06d4e3cc5827476efa29d610f (patch) | |
tree | 8d08e07b518db810f8f6bee492ba7dba08683b84 /fs/ocfs2 | |
parent | a269b9a0a27675c34c62c4e20c4ffb62054cd51a (diff) | |
download | linux-stable-56ff6be608659ac06d4e3cc5827476efa29d610f.tar.gz linux-stable-56ff6be608659ac06d4e3cc5827476efa29d610f.tar.bz2 linux-stable-56ff6be608659ac06d4e3cc5827476efa29d610f.zip |
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>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions