summaryrefslogtreecommitdiff
path: root/drivers/iio/temperature
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2015-04-15 23:39:38 +0300
committerJonathan Cameron <jic23@kernel.org>2015-04-18 22:36:15 +0300
commit49064b5a618df70dbe1ba58a122fd218c58d381d (patch)
tree12d1a0156d2fffe8866c23dee0181654a9b8f818 /drivers/iio/temperature
parent6fa273c1aaa0ab0c22ac4b52879e6bfeea516369 (diff)
downloadlinux-49064b5a618df70dbe1ba58a122fd218c58d381d.tar.xz
iio:tmp006: Prefix #defines with TMP006_
just cleanup, no functional change Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/temperature')
-rw-r--r--drivers/iio/temperature/tmp006.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/temperature/tmp006.c b/drivers/iio/temperature/tmp006.c
index 84a0789c3d96..fcc49f89b946 100644
--- a/drivers/iio/temperature/tmp006.c
+++ b/drivers/iio/temperature/tmp006.c
@@ -41,8 +41,8 @@
#define TMP006_CONFIG_CR_MASK 0x0e00
#define TMP006_CONFIG_CR_SHIFT 9
-#define MANUFACTURER_MAGIC 0x5449
-#define DEVICE_MAGIC 0x0067
+#define TMP006_MANUFACTURER_MAGIC 0x5449
+#define TMP006_DEVICE_MAGIC 0x0067
struct tmp006_data {
struct i2c_client *client;
@@ -191,7 +191,7 @@ static bool tmp006_check_identification(struct i2c_client *client)
if (did < 0)
return false;
- return mid == MANUFACTURER_MAGIC && did == DEVICE_MAGIC;
+ return mid == TMP006_MANUFACTURER_MAGIC && did == TMP006_DEVICE_MAGIC;
}
static int tmp006_probe(struct i2c_client *client,