HID: hid-sensor-hub: Enhance get feature report API
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 19 Feb 2015 23:35:25 +0000 (15:35 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 23 Feb 2015 14:19:49 +0000 (15:19 +0100)
commit6adc83fca74ab73abcbd3b394cf3a8fd3701db99
tree57cd3f15e4b469ddf6ccb177edd473a80d1658cb
parentb3f4737d00de317d1549d5cb5b1dad90e19f5cec
HID: hid-sensor-hub: Enhance get feature report API

Some hid sensor feature report can contain more than one reports.
This API can now support receiving multiple values from the feature
report.
Also update the parameters in the users of this API.

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>
drivers/hid/hid-sensor-hub.c
drivers/iio/common/hid-sensors/hid-sensor-attributes.c
drivers/iio/common/hid-sensors/hid-sensor-trigger.c
include/linux/hid-sensor-hub.h