Commit 9a70b147 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

iio:bma180: Rename BMA_180 to BMA180_

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent cab767d5
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
/* We have to write this value in reset register to do soft reset */ /* We have to write this value in reset register to do soft reset */
#define BMA180_RESET_VAL 0xb6 #define BMA180_RESET_VAL 0xb6
#define BMA_180_ID_REG_VAL 0x03 #define BMA180_ID_REG_VAL 0x03
/* Chip power modes */ /* Chip power modes */
#define BMA180_LOW_NOISE 0x00 #define BMA180_LOW_NOISE 0x00
...@@ -258,7 +258,7 @@ static int bma180_chip_init(struct bma180_data *data) ...@@ -258,7 +258,7 @@ static int bma180_chip_init(struct bma180_data *data)
if (ret < 0) if (ret < 0)
goto err; goto err;
if (ret != BMA_180_ID_REG_VAL) { if (ret != BMA180_ID_REG_VAL) {
ret = -ENODEV; ret = -ENODEV;
goto err; goto err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment