Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2f6ae157905c393f7372607bc2954f7689838199
Commit:     2f6ae157905c393f7372607bc2954f7689838199
Parent:     1f5f48dde709ae6951a2f1e044c21f5641684b0a
Author:     Jean Delvare <[EMAIL PROTECTED]>
AuthorDate: Sat Jun 9 10:11:17 2007 -0400
Committer:  Mark M. Hoffman <[EMAIL PROTECTED]>
CommitDate: Thu Jul 19 14:22:14 2007 -0400

    hwmon/sis5595: Use PCI_REVISION_ID
    
    Use PCI_REVISION_ID instead of our own define.
    
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
---
 drivers/hwmon/sis5595.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index cf31b4b..83321b2 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -79,7 +79,6 @@ static struct platform_device *pdev;
 /* Length of ISA address segment */
 #define SIS5595_EXTENT 8
 /* PCI Config Registers */
-#define SIS5595_REVISION_REG 0x08
 #define SIS5595_BASE_REG 0x68
 #define SIS5595_PIN_REG 0x7A
 #define SIS5595_ENABLE_REG 0x7B
@@ -518,7 +517,7 @@ static int __devinit sis5595_probe(struct platform_device 
*pdev)
        platform_set_drvdata(pdev, data);
 
        /* Check revision and pin registers to determine whether 4 or 5 
voltages */
-       pci_read_config_byte(s_bridge, SIS5595_REVISION_REG, &(data->revision));
+       pci_read_config_byte(s_bridge, PCI_REVISION_ID, &data->revision);
        /* 4 voltages, 1 temp */
        data->maxins = 3;
        if (data->revision >= REV2MIN) {
-
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