mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
hwmon: (jc42) Change detection class
While the JC42-compatible chips are temperature sensors, I2C_CLASS_SPD makes more sense because these chips always live on memory modules. Signed-off-by: Jean Delvare <[email protected]> Cc: Guenter Roeck <[email protected]>
This commit is contained in:
parent
512d1027a6
commit
774466add7
2 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,7 @@ static const struct dev_pm_ops jc42_dev_pm_ops = {
|
|||
|
||||
/* This is the driver that will be inserted */
|
||||
static struct i2c_driver jc42_driver = {
|
||||
.class = I2C_CLASS_HWMON,
|
||||
.class = I2C_CLASS_SPD,
|
||||
.driver = {
|
||||
.name = "jc42",
|
||||
.pm = JC42_DEV_PM_OPS,
|
||||
|
|
|
|||
Loading…
Reference in a new issue