Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: pressure: bmp280: fix error message for wrong chip id
The bmp280 driver also supports BMP180 which has a different chip id with BMP280. The probe routine verifies that the device reports the correct chip id but the error message is confusing as if BMP280's chip id is always expected. Reported-by: Matt Ranostay <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Cc: Matt Ranostay <[email protected]> Cc: Vlad Dogaru <[email protected]> Cc: Christoph Mair <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Hartmut Knaack <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Peter Meerwald <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information