[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>
This commit is contained in:
Jean Delvare
2005-07-31 21:52:01 +02:00
committed by Greg Kroah-Hartman
parent f4b5026120
commit 303760b44a
20 changed files with 57 additions and 86 deletions

View File

@@ -1,6 +1,7 @@
/*
i2c-vid.h - Part of lm_sensors, Linux kernel modules for hardware
monitoring
hwmon-vid.h - VID/VRM/VRD voltage conversions
Originally part of lm_sensors
Copyright (c) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com>
With assistance from Trent Piepho <xyzzy@speakeasy.org>
@@ -50,7 +51,7 @@
to avoid floating point in the kernel.
*/
int i2c_which_vrm(void);
int vid_which_vrm(void);
#define DEFAULT_VRM 82