iio:bma180: Rename BMA_180 to BMA180_
authorPeter Meerwald <pmeerw@pmeerw.net>
Tue, 19 Aug 2014 22:43:00 +0000 (23:43 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 Sep 2014 17:47:51 +0000 (18:47 +0100)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bma180.c

index d7f34b465759719a577e465255694c5fac1d3f74..284598d7cc940fd33f6034dcb60f7fa27055a5e1 100644 (file)
@@ -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;
        }