projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
947809f
)
hwmon: (ltc4282) fix copy paste on variable name
author
Nuno Sá
<nuno.sa@analog.com>
Wed, 11 Jun 2025 16:26:13 +0000
(17:26 +0100)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 20 Jul 2025 23:38:34 +0000
(16:38 -0700)
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>
drivers/hwmon/ltc4282.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/ltc4282.c
b/drivers/hwmon/ltc4282.c
index f607fe8f793702da534902d3c3878581ac2bca1f..424fa9e3a0993f74d7bd1b2e3c98acd954217a98 100644
(file)
--- 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 ltc
2947
_chip_info = {
+static const struct hwmon_chip_info ltc
4282
_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,
- <c
2947
_chip_info,
+ <c
4282
_chip_info,
ltc4282_groups);
if (IS_ERR(hwmon))
return PTR_ERR(hwmon);