summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-08-19 23:43:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-09-14 18:47:51 +0100
commit9a70b147da1a3cbeb3fc6434b5c13ea938e28017 (patch)
tree634ed68764f93b1d61aaac13683280907f24ffcc /drivers/iio
parentcab767d54daf775bc40322e9f8d4393b0c91a447 (diff)
downloadlinux-9a70b147da1a3cbeb3fc6434b5c13ea938e28017.tar.bz2
iio:bma180: Rename BMA_180 to BMA180_
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/accel/bma180.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c
index d7f34b465759..284598d7cc94 100644
--- a/drivers/iio/accel/bma180.c
+++ b/drivers/iio/accel/bma180.c
@@ -56,7 +56,7 @@
/* We have to write this value in reset register to do soft reset */
#define BMA180_RESET_VAL 0xb6
-#define BMA_180_ID_REG_VAL 0x03
+#define BMA180_ID_REG_VAL 0x03
/* Chip power modes */
#define BMA180_LOW_NOISE 0x00
@@ -258,7 +258,7 @@ static int bma180_chip_init(struct bma180_data *data)
if (ret < 0)
goto err;
- if (ret != BMA_180_ID_REG_VAL) {
+ if (ret != BMA180_ID_REG_VAL) {
ret = -ENODEV;
goto err;
}