iio: fix center temperature of bmc150-accel-core
authorPascal Bouwmann <bouwmann@tau-tec.de>
Thu, 29 Aug 2019 05:29:41 +0000 (07:29 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Sep 2019 12:11:50 +0000 (13:11 +0100)
commit6c59a962e081df6d8fe43325bbfabec57e0d4751
tree05f619767a5e0f0d06dd6e09a0d4e8077eabacb0
parent85ae3aeedeccb6febb0c6f9d5346d9c6419ad925
iio: fix center temperature of bmc150-accel-core

The center temperature of the supported devices stored in the constant
BMC150_ACCEL_TEMP_CENTER_VAL is not 24 degrees but 23 degrees.

It seems that some datasheets were inconsistent on this value leading
to the error.  For most usecases will only make minor difference so
not queued for stable.

Signed-off-by: Pascal Bouwmann <bouwmann@tau-tec.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bmc150-accel-core.c