summaryrefslogtreecommitdiff
path: root/include/linux/hid-sensor-hub.h
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2014-01-24 06:50:22 +0400
committerJiri Kosina <jkosina@suse.cz>2014-02-17 18:09:47 +0400
commit1a214ae5d1a66ead18c5e8c3a8d03b969b0ee647 (patch)
tree7839c6acba3c7f1e2f86c2a88e2d167f1d234c56 /include/linux/hid-sensor-hub.h
parente02cee4819ae51f26333471c8eed50678b08572a (diff)
downloadlinux-1a214ae5d1a66ead18c5e8c3a8d03b969b0ee647.tar.xz
iio: hid-sensor-hub: Remove hard coded indexes
Remove the hard coded indexes, instead search for usage id and use the index to set the power and report state. This will fix issue, where the report descriptor doesn't contain the full list of possible selector for power and report state. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid-sensor-hub.h')
0 files changed, 0 insertions, 0 deletions