Skip to contentSkip to conversation

iio:pressure: Adds LPS001WP support also on spi interface and Kconfig fix

PATCH Applied Denis CIOCCA 2 participants 2 messages Oct 22, 2013 – Oct 23, 2013 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio:pressure: Adds LPS001WP support also on spi interface and Kconfig fix

---
 drivers/iio/pressure/Kconfig           |    2 +-
 drivers/iio/pressure/st_pressure_spi.c |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
drivers/iio/pressure/Kconfig +1 -1
index 26fdc0b..4f2e0f9 100644
@@ -14,7 +14,7 @@ config IIO_ST_PRESS
 	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
 	help
 	  Say yes here to build support for STMicroelectronics pressure
-	  sensors: LPS331AP.
+	  sensors: LPS001WP, LPS331AP.
 
 	  This driver can also be built as a module. If so, these modules
 	  will be created:
drivers/iio/pressure/st_pressure_spi.c +1 -0
index 399a29b..27322af 100644
@@ -48,6 +48,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 },
 	{ LPS331AP_PRESS_DEV_NAME },
 	{},
 };
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 1 line · Denis CIOCCA

Applied to the togreg branch of iio.git

Thanks,

Quoted 31 lines
---
 drivers/iio/pressure/Kconfig           |    2 +-
 drivers/iio/pressure/st_pressure_spi.c |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
drivers/iio/pressure/Kconfig +1 -1
index 26fdc0b..4f2e0f9 100644
@@ -14,7 +14,7 @@ config IIO_ST_PRESS
 	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
 	help
 	  Say yes here to build support for STMicroelectronics pressure
-	  sensors: LPS331AP.
+	  sensors: LPS001WP, LPS331AP.
 
 	  This driver can also be built as a module. If so, these modules
 	  will be created:
drivers/iio/pressure/st_pressure_spi.c +1 -0
index 399a29b..27322af 100644
@@ -48,6 +48,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 },
 	{ LPS331AP_PRESS_DEV_NAME },
 	{},
 };