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

2014-06-16 Thread Reyad Attiyat
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

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

2014-06-16 Thread Reyad Attiyat
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