diff options
Diffstat (limited to 'drivers/hwmon/lm87.c')
-rw-r--r-- | drivers/hwmon/lm87.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index 4929b1815eee..d545b8596b05 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -158,7 +158,7 @@ static u8 LM87_REG_TEMP_LOW[3] = { 0x3A, 0x38, 0x2C }; | |||
158 | 158 | ||
159 | static int lm87_probe(struct i2c_client *client, | 159 | static int lm87_probe(struct i2c_client *client, |
160 | const struct i2c_device_id *id); | 160 | const struct i2c_device_id *id); |
161 | static int lm87_detect(struct i2c_client *new_client, int kind, | 161 | static int lm87_detect(struct i2c_client *new_client, |
162 | struct i2c_board_info *info); | 162 | struct i2c_board_info *info); |
163 | static void lm87_init_client(struct i2c_client *client); | 163 | static void lm87_init_client(struct i2c_client *client); |
164 | static int lm87_remove(struct i2c_client *client); | 164 | static int lm87_remove(struct i2c_client *client); |
@@ -662,7 +662,7 @@ static const struct attribute_group lm87_group_opt = { | |||
662 | }; | 662 | }; |
663 | 663 | ||
664 | /* Return 0 if detection is successful, -ENODEV otherwise */ | 664 | /* Return 0 if detection is successful, -ENODEV otherwise */ |
665 | static int lm87_detect(struct i2c_client *new_client, int kind, | 665 | static int lm87_detect(struct i2c_client *new_client, |
666 | struct i2c_board_info *info) | 666 | struct i2c_board_info *info) |
667 | { | 667 | { |
668 | struct i2c_adapter *adapter = new_client->adapter; | 668 | struct i2c_adapter *adapter = new_client->adapter; |