Skip to content
Commit b67f3e65 authored by Sam Protsenko's avatar Sam Protsenko Committed by Jonathan Cameron
Browse files

iio: pressure: bmp280: Add missing bmp085 to SPI id table



"bmp085" is missing in bmp280_spi_id[] table, which leads to the next
warning in dmesg:

    SPI driver bmp280 has no spi_device_id for bosch,bmp085

Add "bmp085" to bmp280_spi_id[] by mimicking its existing description in
bmp280_of_spi_match[] table to fix the above warning.

Signed-off-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
Fixes: b26b4e91

 ("iio: pressure: bmp280: add SPI interface driver")
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 95a0d596
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment