projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e27cbb6
)
hwmon: (jc42) Remove I2C_CLASS_SPD support
author
Heiner Kallweit
<hkallweit1@gmail.com>
Mon, 15 Apr 2024 20:49:35 +0000
(22:49 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 28 Apr 2024 17:08:33 +0000
(10:08 -0700)
Last host driver supporting I2C_CLASS_SPD was i801. Now that I2C_CLASS_SPD
support has been removed there, we can remove it here too.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link:
https://lore.kernel.org/r/3c4a1715-bfbb-4ae2-b35f-2f20f95e4932@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/jc42.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/jc42.c
b/drivers/hwmon/jc42.c
index 75dc25df0f8bbe39f1efc15f5e0d7337e5979fe4..a00168fe569d3bed90e81f4165900c99edb92acb 100644
(file)
--- a/
drivers/hwmon/jc42.c
+++ b/
drivers/hwmon/jc42.c
@@
-623,7
+623,7
@@
MODULE_DEVICE_TABLE(of, jc42_of_ids);
#endif
static struct i2c_driver jc42_driver = {
- .class = I2C_CLASS_
SPD | I2C_CLASS_
HWMON,
+ .class = I2C_CLASS_HWMON,
.driver = {
.name = "jc42",
.pm = JC42_DEV_PM_OPS,