diff options
Diffstat (limited to 'drivers/hwmon/lm77.c')
-rw-r--r-- | drivers/hwmon/lm77.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hwmon/lm77.c b/drivers/hwmon/lm77.c index ac067fd19482..6373ab2cd952 100644 --- a/drivers/hwmon/lm77.c +++ b/drivers/hwmon/lm77.c | |||
@@ -66,8 +66,7 @@ struct lm77_data { | |||
66 | 66 | ||
67 | static int lm77_probe(struct i2c_client *client, | 67 | static int lm77_probe(struct i2c_client *client, |
68 | const struct i2c_device_id *id); | 68 | const struct i2c_device_id *id); |
69 | static int lm77_detect(struct i2c_client *client, int kind, | 69 | static int lm77_detect(struct i2c_client *client, struct i2c_board_info *info); |
70 | struct i2c_board_info *info); | ||
71 | static void lm77_init_client(struct i2c_client *client); | 70 | static void lm77_init_client(struct i2c_client *client); |
72 | static int lm77_remove(struct i2c_client *client); | 71 | static int lm77_remove(struct i2c_client *client); |
73 | static u16 lm77_read_value(struct i2c_client *client, u8 reg); | 72 | static u16 lm77_read_value(struct i2c_client *client, u8 reg); |
@@ -245,7 +244,7 @@ static const struct attribute_group lm77_group = { | |||
245 | }; | 244 | }; |
246 | 245 | ||
247 | /* Return 0 if detection is successful, -ENODEV otherwise */ | 246 | /* Return 0 if detection is successful, -ENODEV otherwise */ |
248 | static int lm77_detect(struct i2c_client *new_client, int kind, | 247 | static int lm77_detect(struct i2c_client *new_client, |
249 | struct i2c_board_info *info) | 248 | struct i2c_board_info *info) |
250 | { | 249 | { |
251 | struct i2c_adapter *adapter = new_client->adapter; | 250 | struct i2c_adapter *adapter = new_client->adapter; |