summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/mp9945.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/mp9945.c')
-rw-r--r--drivers/hwmon/pmbus/mp9945.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/pmbus/mp9945.c b/drivers/hwmon/pmbus/mp9945.c
index 34822e0de812..199480d85515 100644
--- a/drivers/hwmon/pmbus/mp9945.c
+++ b/drivers/hwmon/pmbus/mp9945.c
@@ -215,8 +215,8 @@ static int mp9945_probe(struct i2c_client *client)
}
static const struct i2c_device_id mp9945_id[] = {
- {"mp9945"},
- {}
+ { .name = "mp9945" },
+ { }
};
MODULE_DEVICE_TABLE(i2c, mp9945_id);