aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm80.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm80.c')
-rw-r--r--drivers/hwmon/lm80.c6
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
134static int lm80_probe(struct i2c_client *client, 134static int lm80_probe(struct i2c_client *client,
135 const struct i2c_device_id *id); 135 const struct i2c_device_id *id);
136static int lm80_detect(struct i2c_client *client, int kind, 136static int lm80_detect(struct i2c_client *client, struct i2c_board_info *info);
137 struct i2c_board_info *info);
138static void lm80_init_client(struct i2c_client *client); 137static void lm80_init_client(struct i2c_client *client);
139static int lm80_remove(struct i2c_client *client); 138static int lm80_remove(struct i2c_client *client);
140static struct lm80_data *lm80_update_device(struct device *dev); 139static 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 */
450static int lm80_detect(struct i2c_client *client, int kind, 449static 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;