aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hwmon/adt7475.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adt7475.c b/drivers/hwmon/adt7475.c
index 7dab3547fee5..71e9ac4b8494 100644
--- a/drivers/hwmon/adt7475.c
+++ b/drivers/hwmon/adt7475.c
@@ -1232,7 +1232,7 @@ static void adt7475_remove_files(struct i2c_client *client,
1232static int adt7475_probe(struct i2c_client *client, 1232static int adt7475_probe(struct i2c_client *client,
1233 const struct i2c_device_id *id) 1233 const struct i2c_device_id *id)
1234{ 1234{
1235 static const char *names[] = { 1235 static const char * const names[] = {
1236 [adt7473] = "ADT7473", 1236 [adt7473] = "ADT7473",
1237 [adt7475] = "ADT7475", 1237 [adt7475] = "ADT7475",
1238 [adt7476] = "ADT7476", 1238 [adt7476] = "ADT7476",