]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2b16b0867ee9dc077834b0f738e0c38210dfa53
tree7e25f86f9c40efeaa4fa9023580caf152d518257
parent2c7d20396cf7d37cd8e4170411e4135523346d6c
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