[PATCH v4 0/4] Add support for rotation from north to the hid-sensor-magn-3d driver

2014-06-29 Thread Reyad Attiyat
This version of patches tries to make smaller changes to the magn-3d driver. It scans for usages present in the magn_3d_addresses array. It then allocates memory for the IIO channel structs and value arrays that are used in the IIO subsystem. It sets-up each IIO channel struct by copying the

[PATCH v4 0/4] Add support for rotation from north to the hid-sensor-magn-3d driver

2014-06-29 Thread Reyad Attiyat
This version of patches tries to make smaller changes to the magn-3d driver. It scans for usages present in the magn_3d_addresses array. It then allocates memory for the IIO channel structs and value arrays that are used in the IIO subsystem. It sets-up each IIO channel struct by copying the