diff options
author | David Frey <dpfrey@gmail.com> | 2018-08-20 19:39:59 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-08-25 10:13:45 +0200 |
commit | 1691d4ca7081d3154771c2c4b18ec816936fef4f (patch) | |
tree | 4c1edffe7e945494cd97ec2a63eca0285d1a0692 /drivers/iio/chemical/bme680.h | |
parent | iio: multiplexer: switch to SPDX license identifier (diff) | |
download | linux-1691d4ca7081d3154771c2c4b18ec816936fef4f.tar.xz linux-1691d4ca7081d3154771c2c4b18ec816936fef4f.zip |
iio: chemical: bme680: Remove field value defines
Remove BME680_RUN_GAS_EN_BIT and BME680_NB_CONV_0_VAL field value
definitions because the fields are simply boolean and integer
respectively.
Signed-off-by: David Frey <dpfrey@gmail.com>
Reviewed-by: Himanshu Jha <himanshujha199640@gmail.com>
Tested-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/chemical/bme680.h')
-rw-r--r-- | drivers/iio/chemical/bme680.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h index a9f2a9a6abc5..0ae89b87e2d6 100644 --- a/drivers/iio/chemical/bme680.h +++ b/drivers/iio/chemical/bme680.h @@ -54,8 +54,6 @@ #define BME680_REG_CTRL_GAS_1 0x71 #define BME680_RUN_GAS_MASK BIT(4) #define BME680_NB_CONV_MASK GENMASK(3, 0) -#define BME680_RUN_GAS_EN_BIT BIT(4) -#define BME680_NB_CONV_0_VAL 0 #define BME680_REG_MEAS_STAT_0 0x1D #define BME680_GAS_MEAS_BIT BIT(6) |