summaryrefslogtreecommitdiff
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-30 04:48:49 +0300
committerJonathan Cameron <jic23@kernel.org>2016-07-03 13:27:11 +0300
commit14e8015f8569d9634479a4a461e7c138d60d99ca (patch)
treef615fa7e7d955050ee6ab8901f4cf052529a4f82 /drivers/macintosh
parentbd525e6c7521c45785c87d6ecade4e047634cd3c (diff)
downloadlinux-14e8015f8569d9634479a4a461e7c138d60d99ca.tar.xz
iio: pressure: bmp280: split driver in logical parts
This splits the BMP280 driver in three logical parts: the core driver bmp280-core that only operated on a struct device * and a struct regmap *, the regmap driver bmp280-regmap that can be shared between I2C and other transports and the I2C module driver bmp280-i2c. Cleverly bake all functionality into a single object bmp280.o so that we still get the same module binary built for the device in the end, without any fuzz exporting symbols to the left and right. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions