iio: magnetometer: yas530: Correct scaling of magnetic axes
authorJakob Hauser <jahau@rocketmail.com>
Fri, 12 Aug 2022 21:54:08 +0000 (23:54 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 15 Aug 2022 21:30:03 +0000 (22:30 +0100)
commit413cf691633c985c3b49d005aa07b0e9c70c14a1
tree95030963b4963067af111a0bbd08b8a2cab54ce3
parent4efdfbc16cceffbcb29e53a5be55d83a4c76a9c0
iio: magnetometer: yas530: Correct scaling of magnetic axes

Looks like YAS530 raw values return picotesla and YAS532 nanotesla. Adapt
comments and scaling.

Signed-off-by: Jakob Hauser <jahau@rocketmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/053ab05cb9a0f6b0536ab5e0de57009f513c6f81.1660337264.git.jahau@rocketmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/yamaha-yas530.c