[PATCH v3 0/3] IIO: Add support for rotation from north usage attributes

From: Reyad Attiyat
Date: Mon Jun 16 2014 - 18:31:07 EST


These patches add support for rotation from north HID usage attributes to
the magnetometer 3d driver.

Changes from v2:
Use devm_kcalloc for all dynamic allocations
Cleanup formatting of if statements
Scan for the usage attributes present then dynamically allocate iio channel and value arrays
Use proper return errors (-EINVAL) and (-ENOMEM)


Reyad Attiyat (3):
iio: documentation: Added documentation for rotation from north usage
attributes
iio: types: Added support for rotation from north usage attributes
iio: hid-sensor-magn-3d: Add support for rotation from north usage
attributes

Documentation/ABI/testing/sysfs-bus-iio | 79 +++++-
drivers/iio/industrialio-core.c | 4 +
drivers/iio/magnetometer/hid-sensor-magn-3d.c | 394 +++++++++++++++++---------
include/linux/iio/types.h | 4 +
4 files changed, 352 insertions(+), 129 deletions(-)

--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/