OSDN Git Service

iio: gyro: bmg160: add mount matrix support
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 21 Feb 2019 17:02:50 +0000 (18:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:47 +0000 (20:19 +0100)
commit3a6049f6dbab9240d0f465067c2a42fb182fc663
treec9e968dbb31a7e6120a5ceb29640237339f2c081
parent587c2bea23f8ce17c4deeaf66cb1351d6e170d3c
iio: gyro: bmg160: 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/gyro/bmg160_core.c