misc: add support for bmp18x chips to the bmp085 driver
authorEric Andersson <eric.andersson@unixphere.com>
Mon, 9 Apr 2012 20:16:17 +0000 (22:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 21:57:14 +0000 (14:57 -0700)
commit985087dbcb0265f46e8651fdc7e974f8a7184423
treeaad96003f89022623f4c8bf940267300530a9eb2
parentc5a86ab6dd6e424c56826421a80b855e24f7caa1
misc: add support for bmp18x chips to the bmp085 driver

The bmp18x chip family comes in an I2C respectively SPI variant.
Hence, the bmp085 driver was split to support both buses.

Tested-by: Zhengguang Guo <zhengguang.guo@bosch-sensortec.com>
Reviewed-by: Stefan Nilsson <stefan.nilsson@unixphere.com>
Signed-off-by: Eric Andersson <eric.andersson@unixphere.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/bmp085-i2c.c [new file with mode: 0644]
drivers/misc/bmp085-spi.c [new file with mode: 0644]
drivers/misc/bmp085.c
drivers/misc/bmp085.h [new file with mode: 0644]