HID: hid-sensor-hub: Enhance feature report set API
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 19 Feb 2015 23:35:26 +0000 (15:35 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 23 Feb 2015 14:20:00 +0000 (15:20 +0100)
commit3950e03389cfc8ee9d7131074d999b5fb6bbc2bf
treebbf036b38751363eb8d6c6c8f27225d49a5f6750
parent6adc83fca74ab73abcbd3b394cf3a8fd3701db99
HID: hid-sensor-hub: Enhance feature report set API

Current API only allows setting one offset in the field. This API
is extended to set multiple offsets in the field report.
Also update parameters in the users of this API.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-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