summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical/bme680.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-21 23:20:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-21 23:20:08 +0200
commit3b8a1f45e1b3886593a7cbb0aca09d4d0a9e23df (patch)
treee9f4ada62ee0d88c7c389cbf66bf2f7ec897c680 /drivers/iio/chemical/bme680.h
parenttty:serial_core: Spelling mistake (diff)
parentLinux 5.1-rc6 (diff)
downloadlinux-3b8a1f45e1b3886593a7cbb0aca09d4d0a9e23df.tar.xz
linux-3b8a1f45e1b3886593a7cbb0aca09d4d0a9e23df.zip
Merge 5.1-rc6 into tty-next
We want the serial/tty fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/chemical/bme680.h')
-rw-r--r--drivers/iio/chemical/bme680.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h
index 0ae89b87e2d6..4edc5d21cb9f 100644
--- a/drivers/iio/chemical/bme680.h
+++ b/drivers/iio/chemical/bme680.h
@@ -2,11 +2,9 @@
#ifndef BME680_H_
#define BME680_H_
-#define BME680_REG_CHIP_I2C_ID 0xD0
-#define BME680_REG_CHIP_SPI_ID 0x50
+#define BME680_REG_CHIP_ID 0xD0
#define BME680_CHIP_ID_VAL 0x61
-#define BME680_REG_SOFT_RESET_I2C 0xE0
-#define BME680_REG_SOFT_RESET_SPI 0x60
+#define BME680_REG_SOFT_RESET 0xE0
#define BME680_CMD_SOFTRESET 0xB6
#define BME680_REG_STATUS 0x73
#define BME680_SPI_MEM_PAGE_BIT BIT(4)