Skip to content

Commit

Permalink
iio:bma180: Rename BMA_180 to BMA180_
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Peter Meerwald authored and Jonathan Cameron committed Sep 14, 2014
1 parent cab767d commit 9a70b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/iio/accel/bma180.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 9a70b14

Please sign in to comment.