iio: hid-sensor-magn-3d: Add support for rotation from north
authorReyad Attiyat <reyad.attiyat@gmail.com>
Thu, 17 Jul 2014 18:18:00 +0000 (19:18 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 20 Jul 2014 12:39:35 +0000 (13:39 +0100)
commitabea9c62c32fabb9f712f01cbf12ce24694eca88
tree0c72b9bdbf9a35cc66f4ff105cbfd056609ff2c5
parent2a96540a5c0d136c3c412ec650fad301aaf12bf7
iio: hid-sensor-magn-3d: Add support for rotation from north

Add the HID usage attribute ID's and IIO channel info for rotation
from north support.

Signed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/hid-sensor-magn-3d.c