]> git.baikalelectronics.ru Git - kernel.git/commit
iio: pressure: bmp280: split off an I2C Kconfig entry
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Jun 2016 01:48:50 +0000 (03:48 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Jul 2016 10:27:14 +0000 (11:27 +0100)
commitfa09fc91c089bc1293d9597dea16453fee460b33
treeb54dbe176ad9432f92122f0a55b60be390238f0d
parentf4938fdb4c4d9d8cfa2e021a2ea3ba3afe0ed2cf
iio: pressure: bmp280: split off an I2C Kconfig entry

This creates a separate BMP280_I2C Kconfig entry that gets selected
by BMP280 for I2C transport. As we currently only support I2C
transport there is not much practical change other than getting
a separate object file (or module) for the I2C driver part. The
old Kconfig symbol BMP280 will still select the stuff we need so
that oldconfig and old defconfigs works fine.

Tested-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/Kconfig
drivers/iio/pressure/Makefile
drivers/iio/pressure/bmp280-core.c
drivers/iio/pressure/bmp280-regmap.c