iio: hid-sensors: Common attribute and trigger
authorsrinivas pandruvada <srinivas.pandruvada@intel.com>
Wed, 5 Sep 2012 12:56:00 +0000 (13:56 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 6 Sep 2012 18:20:11 +0000 (19:20 +0100)
commit73c6768b710a1621903f2bc179ae9c7789d41e9f
treee486fe76c5fa4ba4a5cd61124b52689510169385
parent401ca24fb34aee0cedf9c4fef361e533224f15a1
iio: hid-sensors: Common attribute and trigger

This patch contains the common code, which is used by all HID sensors.
There are some common set of attributes, which every hid sensor
needs it. This patch contains all such attributes processing.
Also the trigger interface is common among all HID sensors. This
patch contains common trigger functions utilized by all HID sensors.

Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/common/Kconfig [new file with mode: 0644]
drivers/iio/common/Makefile [new file with mode: 0644]
drivers/iio/common/hid-sensors/Kconfig [new file with mode: 0644]
drivers/iio/common/hid-sensors/Makefile [new file with mode: 0644]
drivers/iio/common/hid-sensors/hid-sensor-attributes.c [new file with mode: 0644]
drivers/iio/common/hid-sensors/hid-sensor-attributes.h [new file with mode: 0644]
drivers/iio/common/hid-sensors/hid-sensor-trigger.c [new file with mode: 0644]
drivers/iio/common/hid-sensors/hid-sensor-trigger.h [new file with mode: 0644]