diff options
Diffstat (limited to 'drivers/hwmon/lm78.c')
-rw-r--r-- | drivers/hwmon/lm78.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 3f7055ee679f..0a9eb1f6f4e4 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c | |||
@@ -37,10 +37,8 @@ | |||
37 | static struct platform_device *pdev; | 37 | static struct platform_device *pdev; |
38 | 38 | ||
39 | /* Addresses to scan */ | 39 | /* Addresses to scan */ |
40 | static unsigned short normal_i2c[] = { 0x20, 0x21, 0x22, 0x23, 0x24, | 40 | static unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, |
41 | 0x25, 0x26, 0x27, 0x28, 0x29, | 41 | 0x2e, 0x2f, I2C_CLIENT_END }; |
42 | 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, | ||
43 | 0x2f, I2C_CLIENT_END }; | ||
44 | static unsigned short isa_address = 0x290; | 42 | static unsigned short isa_address = 0x290; |
45 | 43 | ||
46 | /* Insmod parameters */ | 44 | /* Insmod parameters */ |
@@ -170,7 +168,6 @@ static struct i2c_driver lm78_driver = { | |||
170 | .driver = { | 168 | .driver = { |
171 | .name = "lm78", | 169 | .name = "lm78", |
172 | }, | 170 | }, |
173 | .id = I2C_DRIVERID_LM78, | ||
174 | .attach_adapter = lm78_attach_adapter, | 171 | .attach_adapter = lm78_attach_adapter, |
175 | .detach_client = lm78_detach_client, | 172 | .detach_client = lm78_detach_client, |
176 | }; | 173 | }; |