summaryrefslogtreecommitdiff
path: root/drivers/hwmon/tmp513.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-03 11:26:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-03 11:26:04 +0200
commitc7d419828268d5f3e52b74506d074955ad8c01d1 (patch)
treeebc13d810a9de1291e77536b224c25a8fbf1c61f /drivers/hwmon/tmp513.c
parent8f9aa2c90530ab92301a82231ae44f3722becd93 (diff)
parent2609d60e2f6d0b8a96563baa08b56482962cebaa (diff)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/tmp513.c')
-rw-r--r--drivers/hwmon/tmp513.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/tmp513.c b/drivers/hwmon/tmp513.c
index 5acbfd7d088d..b160aa045f89 100644
--- a/drivers/hwmon/tmp513.c
+++ b/drivers/hwmon/tmp513.c
@@ -611,8 +611,8 @@ static int tmp51x_init(struct tmp51x_data *data)
}
static const struct i2c_device_id tmp51x_id[] = {
- { "tmp512", TMP512_MAX_CHANNELS },
- { "tmp513", TMP513_MAX_CHANNELS },
+ { .name = "tmp512", .driver_data = TMP512_MAX_CHANNELS },
+ { .name = "tmp513", .driver_data = TMP513_MAX_CHANNELS },
{ }
};
MODULE_DEVICE_TABLE(i2c, tmp51x_id);