summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/st_pressure_spi.c
diff options
context:
space:
mode:
authorDenis CIOCCA2014-02-20 18:49:00 +0100
committerJonathan Cameron2014-02-22 14:09:53 +0100
commit931878405b869093c90d57a0a34f0c2b3641c4ea (patch)
tree730ca969c45b1ab70d6aead19a4bd4ba19129813 /drivers/iio/pressure/st_pressure_spi.c
parentiio: hid-sensors: Added Pressure Sensor driver (diff)
downloadkernel-qcow2-linux-931878405b869093c90d57a0a34f0c2b3641c4ea.tar.gz
kernel-qcow2-linux-931878405b869093c90d57a0a34f0c2b3641c4ea.tar.xz
kernel-qcow2-linux-931878405b869093c90d57a0a34f0c2b3641c4ea.zip
iio:pressure: Add support for LPS25H pressure sensor
This patch adds support for the new barometer sensor: LPS25H. Signed-off-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/st_pressure_spi.c')
-rw-r--r--drivers/iio/pressure/st_pressure_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/st_pressure_spi.c b/drivers/iio/pressure/st_pressure_spi.c
index 27322af6d665..f45d430ec529 100644
--- a/drivers/iio/pressure/st_pressure_spi.c
+++ b/drivers/iio/pressure/st_pressure_spi.c
@@ -49,6 +49,7 @@ static int st_press_spi_remove(struct spi_device *spi)
static const struct spi_device_id st_press_id_table[] = {
{ LPS001WP_PRESS_DEV_NAME },
+ { LPS25H_PRESS_DEV_NAME },
{ LPS331AP_PRESS_DEV_NAME },
{},
};