summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/light/tcs3472.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c
index b0e8d5661567..24b71d4543c5 100644
--- a/drivers/iio/light/tcs3472.c
+++ b/drivers/iio/light/tcs3472.c
@@ -480,9 +480,9 @@ static int tcs3472_probe(struct i2c_client *client)
return ret;
if (ret == 0x44)
- dev_info(&client->dev, "TCS34721/34725 found\n");
+ dev_info(dev, "TCS34721/34725 found\n");
else if (ret == 0x4d)
- dev_info(&client->dev, "TCS34723/34727 found\n");
+ dev_info(dev, "TCS34723/34727 found\n");
else
return -ENODEV;