Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hwmon: (ltc4282) fix copy paste on variable name

The struct hwmon_chip_info was named ltc2947_chip_info which is
obviously a copy paste leftover. Name it accordingly.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250611-fix-ltc4282-repetead-write-v1-2-fe46edd08cf1@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Nuno Sá and committed by
Guenter Roeck
6e253295 947809f9

+2 -2
+2 -2
drivers/hwmon/ltc4282.c
··· 1596 1596 .read_string = ltc4282_read_labels, 1597 1597 }; 1598 1598 1599 - static const struct hwmon_chip_info ltc2947_chip_info = { 1599 + static const struct hwmon_chip_info ltc4282_chip_info = { 1600 1600 .ops = &ltc4282_hwmon_ops, 1601 1601 .info = ltc4282_info, 1602 1602 }; ··· 1717 1717 1718 1718 mutex_init(&st->lock); 1719 1719 hwmon = devm_hwmon_device_register_with_info(dev, "ltc4282", st, 1720 - &ltc2947_chip_info, 1720 + &ltc4282_chip_info, 1721 1721 ltc4282_groups); 1722 1722 if (IS_ERR(hwmon)) 1723 1723 return PTR_ERR(hwmon);