diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-05-25 14:43:32 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-05-25 14:43:32 -0400 |
commit | 774466add7c810fd7e4c8bcf41995b6799608880 (patch) | |
tree | 3a2c4d2b52cae298390f0ca9eceeda9888636167 /drivers/hwmon | |
parent | 512d1027a6c58def3c2a410e8be65b7e730aad3b (diff) |
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 <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/jc42.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 934991237061..02cebb74e206 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c | |||
@@ -213,7 +213,7 @@ static const struct dev_pm_ops jc42_dev_pm_ops = { | |||
213 | 213 | ||
214 | /* This is the driver that will be inserted */ | 214 | /* This is the driver that will be inserted */ |
215 | static struct i2c_driver jc42_driver = { | 215 | static struct i2c_driver jc42_driver = { |
216 | .class = I2C_CLASS_HWMON, | 216 | .class = I2C_CLASS_SPD, |
217 | .driver = { | 217 | .driver = { |
218 | .name = "jc42", | 218 | .name = "jc42", |
219 | .pm = JC42_DEV_PM_OPS, | 219 | .pm = JC42_DEV_PM_OPS, |