diff options
Diffstat (limited to 'drivers/hwmon/lm80.c')
-rw-r--r-- | drivers/hwmon/lm80.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c index bcffc1899403..e3222f3d4a5e 100644 --- a/drivers/hwmon/lm80.c +++ b/drivers/hwmon/lm80.c | |||
@@ -133,8 +133,7 @@ struct lm80_data { | |||
133 | 133 | ||
134 | static int lm80_probe(struct i2c_client *client, | 134 | static int lm80_probe(struct i2c_client *client, |
135 | const struct i2c_device_id *id); | 135 | const struct i2c_device_id *id); |
136 | static int lm80_detect(struct i2c_client *client, int kind, | 136 | static int lm80_detect(struct i2c_client *client, struct i2c_board_info *info); |
137 | struct i2c_board_info *info); | ||
138 | static void lm80_init_client(struct i2c_client *client); | 137 | static void lm80_init_client(struct i2c_client *client); |
139 | static int lm80_remove(struct i2c_client *client); | 138 | static int lm80_remove(struct i2c_client *client); |
140 | static struct lm80_data *lm80_update_device(struct device *dev); | 139 | static struct lm80_data *lm80_update_device(struct device *dev); |
@@ -447,8 +446,7 @@ static const struct attribute_group lm80_group = { | |||
447 | }; | 446 | }; |
448 | 447 | ||
449 | /* Return 0 if detection is successful, -ENODEV otherwise */ | 448 | /* Return 0 if detection is successful, -ENODEV otherwise */ |
450 | static int lm80_detect(struct i2c_client *client, int kind, | 449 | static int lm80_detect(struct i2c_client *client, struct i2c_board_info *info) |
451 | struct i2c_board_info *info) | ||
452 | { | 450 | { |
453 | struct i2c_adapter *adapter = client->adapter; | 451 | struct i2c_adapter *adapter = client->adapter; |
454 | int i, cur; | 452 | int i, cur; |