diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-07-31 15:52:01 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:14:22 -0400 |
commit | 303760b44a7a142cb9f4c9df4609fb63bbda98db (patch) | |
tree | 8097f99cd993bc005b25e14a5690770b6e351195 /drivers/hwmon/adm1026.c | |
parent | f4b50261207c987913f076d867c2e154d71fd012 (diff) |
[PATCH] hwmon: hwmon vs i2c, second round (07/11)
The only part left in i2c-sensor is the VRM/VRD/VID handling code.
This is in no way related to i2c, so it doesn't belong there. Move
the code to hwmon, where it belongs.
Note that not all hardware monitoring drivers do VRM/VRD/VID
operations, so less drivers depend on hwmon-vid than there were
depending on i2c-sensor.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/adm1026.c')
-rw-r--r-- | drivers/hwmon/adm1026.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/adm1026.c b/drivers/hwmon/adm1026.c index f32f819efcfc..625158110fd4 100644 --- a/drivers/hwmon/adm1026.c +++ b/drivers/hwmon/adm1026.c | |||
@@ -28,9 +28,9 @@ | |||
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/jiffies.h> | 29 | #include <linux/jiffies.h> |
30 | #include <linux/i2c.h> | 30 | #include <linux/i2c.h> |
31 | #include <linux/i2c-vid.h> | ||
32 | #include <linux/hwmon-sysfs.h> | ||
33 | #include <linux/hwmon.h> | 31 | #include <linux/hwmon.h> |
32 | #include <linux/hwmon-sysfs.h> | ||
33 | #include <linux/hwmon-vid.h> | ||
34 | #include <linux/err.h> | 34 | #include <linux/err.h> |
35 | 35 | ||
36 | /* Addresses to scan */ | 36 | /* Addresses to scan */ |
@@ -1552,7 +1552,7 @@ int adm1026_detect(struct i2c_adapter *adapter, int address, | |||
1552 | goto exitfree; | 1552 | goto exitfree; |
1553 | 1553 | ||
1554 | /* Set the VRM version */ | 1554 | /* Set the VRM version */ |
1555 | data->vrm = i2c_which_vrm(); | 1555 | data->vrm = vid_which_vrm(); |
1556 | 1556 | ||
1557 | /* Initialize the ADM1026 chip */ | 1557 | /* Initialize the ADM1026 chip */ |
1558 | adm1026_init_client(new_client); | 1558 | adm1026_init_client(new_client); |