aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm87.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm87.c')
-rw-r--r--drivers/hwmon/lm87.c4
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
159static int lm87_probe(struct i2c_client *client, 159static int lm87_probe(struct i2c_client *client,
160 const struct i2c_device_id *id); 160 const struct i2c_device_id *id);
161static int lm87_detect(struct i2c_client *new_client, int kind, 161static int lm87_detect(struct i2c_client *new_client,
162 struct i2c_board_info *info); 162 struct i2c_board_info *info);
163static void lm87_init_client(struct i2c_client *client); 163static void lm87_init_client(struct i2c_client *client);
164static int lm87_remove(struct i2c_client *client); 164static 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 */
665static int lm87_detect(struct i2c_client *new_client, int kind, 665static 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;