Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3d7f9a8697ffe76e9edaf6b1751f2a2db660e4d5
Commit:     3d7f9a8697ffe76e9edaf6b1751f2a2db660e4d5
Parent:     e9cea646014e25aa96eefa1b41d373a6ad95c189
Author:     Jim Cromie <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 12 18:18:28 2006 +0100
Committer:  Jean Delvare <[EMAIL PROTECTED]>
CommitDate: Tue Dec 12 18:18:28 2006 +0100

    hwmon/pc87360: Autodetect the VRM version
    
    pc87360 currently hardcodes vrm = 90 (2.4 vintage).  Update it to use
    newer code in hwmon-vid which reads cpuid to determine the correct vid.
    
    Signed-off-by: Jim Cromie <[EMAIL PROTECTED]>
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
---
 drivers/hwmon/pc87360.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
index 3b8b819..c8a21be 100644
--- a/drivers/hwmon/pc87360.c
+++ b/drivers/hwmon/pc87360.c
@@ -1000,7 +1000,7 @@ static int pc87360_detect(struct i2c_adapter *adapter)
                        (i&0x02) ? "external" : "internal");
 
                data->vid_conf = confreg[3];
-               data->vrm = 90;
+               data->vrm = vid_which_vrm();
        }
 
        /* Fan clock dividers may be needed before any data is read */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to