From: Peter Meerwald Date: Tue, 19 Aug 2014 22:43:00 +0000 (+0100) Subject: iio:bma180: Rename BMA_180 to BMA180_ X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9a70b147da1a3cbeb3fc6434b5c13ea938e28017;p=linux-beck.git iio:bma180: Rename BMA_180 to BMA180_ Signed-off-by: Peter Meerwald Cc: Oleksandr Kravchenko Signed-off-by: Jonathan Cameron --- 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; }