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)
commit17118843a563c681aaafb29621befba02f28c592
treeb54dbe176ad9432f92122f0a55b60be390238f0d
parent14e8015f8569d9634479a4a461e7c138d60d99ca
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
This page took 0.026266 seconds and 5 git commands to generate.