diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2015-04-15 22:39:36 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-04-18 20:31:35 +0100 |
commit | 6b57573bd0cd92c54a44ade46c6362b732d55a6c (patch) | |
tree | 7efd4ad0a7e8bc819518dc21a6b49851b1fe0990 | |
parent | 45fd5f8e10d3b5bdff577b82db4b9dd78d4b60a3 (diff) | |
download | op-kernel-dev-6b57573bd0cd92c54a44ade46c6362b732d55a6c.zip op-kernel-dev-6b57573bd0cd92c54a44ade46c6362b732d55a6c.tar.gz |
iio:tsl4531: Fix leftover TCS3472_ prefix in tsl4531 driver
just cleanup, no functional change
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/light/tsl4531.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/light/tsl4531.c b/drivers/iio/light/tsl4531.c index 0763b86..63c26e2 100644 --- a/drivers/iio/light/tsl4531.c +++ b/drivers/iio/light/tsl4531.c @@ -24,12 +24,12 @@ #define TSL4531_DRV_NAME "tsl4531" -#define TCS3472_COMMAND BIT(7) +#define TSL4531_COMMAND BIT(7) -#define TSL4531_CONTROL (TCS3472_COMMAND | 0x00) -#define TSL4531_CONFIG (TCS3472_COMMAND | 0x01) -#define TSL4531_DATA (TCS3472_COMMAND | 0x04) -#define TSL4531_ID (TCS3472_COMMAND | 0x0a) +#define TSL4531_CONTROL (TSL4531_COMMAND | 0x00) +#define TSL4531_CONFIG (TSL4531_COMMAND | 0x01) +#define TSL4531_DATA (TSL4531_COMMAND | 0x04) +#define TSL4531_ID (TSL4531_COMMAND | 0x0a) /* operating modes in control register */ #define TSL4531_MODE_POWERDOWN 0x00 |