aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/w83627hf.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index 2be28ac4ede0..d67407d045bd 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -59,10 +59,6 @@ static struct platform_device *pdev;
59#define DRVNAME "w83627hf" 59#define DRVNAME "w83627hf"
60enum chips { w83627hf, w83627thf, w83697hf, w83637hf, w83687thf }; 60enum chips { w83627hf, w83627thf, w83697hf, w83637hf, w83687thf };
61 61
62static u16 force_addr;
63module_param(force_addr, ushort, 0);
64MODULE_PARM_DESC(force_addr,
65 "Initialize the base address of the sensors");
66static u8 force_i2c = 0x1f; 62static u8 force_i2c = 0x1f;
67module_param(force_i2c, byte, 0); 63module_param(force_i2c, byte, 0);
68MODULE_PARM_DESC(force_i2c, 64MODULE_PARM_DESC(force_i2c,
@@ -1169,13 +1165,6 @@ static int __init w83627hf_find(int sioaddr, unsigned short *addr,
1169 } 1165 }
1170 1166
1171 superio_select(W83627HF_LD_HWM); 1167 superio_select(W83627HF_LD_HWM);
1172 force_addr &= WINB_ALIGNMENT;
1173 if (force_addr) {
1174 printk(KERN_WARNING DRVNAME ": Forcing address 0x%x\n",
1175 force_addr);
1176 superio_outb(WINB_BASE_REG, force_addr >> 8);
1177 superio_outb(WINB_BASE_REG + 1, force_addr & 0xff);
1178 }
1179 val = (superio_inb(WINB_BASE_REG) << 8) | 1168 val = (superio_inb(WINB_BASE_REG) << 8) |
1180 superio_inb(WINB_BASE_REG + 1); 1169 superio_inb(WINB_BASE_REG + 1);
1181 *addr = val & WINB_ALIGNMENT; 1170 *addr = val & WINB_ALIGNMENT;