iio: magnetometer: ak8974: support AMI306 variant
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 17 Aug 2017 13:56:10 +0000 (15:56 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 Aug 2017 10:18:33 +0000 (11:18 +0100)
commit21be26fc6786a674b7b10f50ba29e4459cbd1aa8
tree49c20ff44b6f9b17cbcc5898075829eac4808d15
parent3282fa3c0a108ac21b4c5a4818e70f510d582676
iio: magnetometer: ak8974: support AMI306 variant

Add support for AMI306 magnetometer - very similar to AMI305.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/Kconfig
drivers/iio/magnetometer/ak8974.c