iio: accel: bma400: Fix the scale min and max macro values
authorJagath Jog J <jagathjog1996@gmail.com>
Thu, 5 May 2022 13:30:12 +0000 (19:00 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 11 Jun 2022 13:35:25 +0000 (14:35 +0100)
commit747c7cf1592e226d40543231b26502b332d0ea2f
treee72fd7e17edd539c18b333f7da5b6767cb50ac45
parent8dc0a72795e49abcda576ecb18072d1b91082711
iio: accel: bma400: Fix the scale min and max macro values

Changing the scale macro values to match the bma400 sensitivity
for 1 LSB of all the available ranges.

Fixes: 465c811f1f20 ("iio: accel: Add driver for the BMA400")
Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220505133021.22362-2-jagathjog1996@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bma400.h