summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/temperature/tmp007.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/temperature/tmp007.c b/drivers/iio/temperature/tmp007.c
index 24c6c16d169d..f04d0d1f6ac8 100644
--- a/drivers/iio/temperature/tmp007.c
+++ b/drivers/iio/temperature/tmp007.c
@@ -233,7 +233,7 @@ static int tmp007_probe(struct i2c_client *client,
data->client = client;
indio_dev->dev.parent = &client->dev;
- indio_dev->name = dev_name(&client->dev);
+ indio_dev->name = "tmp007";
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->info = &tmp007_info;