diff options
| -rw-r--r-- | drivers/hwmon/ltc4282.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/ltc4282.c b/drivers/hwmon/ltc4282.c index f607fe8f7937..424fa9e3a099 100644 --- a/drivers/hwmon/ltc4282.c +++ b/drivers/hwmon/ltc4282.c @@ -1596,7 +1596,7 @@ static const struct hwmon_ops ltc4282_hwmon_ops = { .read_string = ltc4282_read_labels, }; -static const struct hwmon_chip_info ltc2947_chip_info = { +static const struct hwmon_chip_info ltc4282_chip_info = { .ops = <c4282_hwmon_ops, .info = ltc4282_info, }; @@ -1717,7 +1717,7 @@ static int ltc4282_probe(struct i2c_client *i2c) mutex_init(&st->lock); hwmon = devm_hwmon_device_register_with_info(dev, "ltc4282", st, - <c2947_chip_info, + <c4282_chip_info, ltc4282_groups); if (IS_ERR(hwmon)) return PTR_ERR(hwmon); |
