OSDN Git Service

iio: magnetometer: hmc5843: add mount matrix support
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 21 Feb 2019 17:02:53 +0000 (18:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:48 +0000 (20:19 +0100)
commit8d7ea73814b4ede8bdf31021779e1345bee15acc
tree7e25f86f9c40efeaa4fa9023580caf152d518257
parentd9842c770a47e35a3264359989fff69d58e5cbaa
iio: magnetometer: hmc5843: add mount matrix support

This patch allows to read a mount-matrix device tree
property and report to user-space or in-kernel iio
clients.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/hmc5843.h
drivers/iio/magnetometer/hmc5843_core.c