original_kernel/drivers/iio/common/hid-sensors
Srinivas Pandruvada 1a214ae5d1 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>
2014-02-17 15:09:47 +01:00
..
Kconfig
Makefile
hid-sensor-attributes.c
hid-sensor-trigger.c iio: hid-sensor-hub: Remove hard coded indexes 2014-02-17 15:09:47 +01:00
hid-sensor-trigger.h