aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/tmp401.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/tmp401.c')
-rw-r--r--drivers/hwmon/tmp401.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/tmp401.c b/drivers/hwmon/tmp401.c
index ee9673467c4a..7cf1d541a5fa 100644
--- a/drivers/hwmon/tmp401.c
+++ b/drivers/hwmon/tmp401.c
@@ -98,7 +98,7 @@ static const u8 TMP411_TEMP_HIGHEST_LSB[2] = { 0x33, 0x37 };
98 98
99static int tmp401_probe(struct i2c_client *client, 99static int tmp401_probe(struct i2c_client *client,
100 const struct i2c_device_id *id); 100 const struct i2c_device_id *id);
101static int tmp401_detect(struct i2c_client *client, int kind, 101static int tmp401_detect(struct i2c_client *client,
102 struct i2c_board_info *info); 102 struct i2c_board_info *info);
103static int tmp401_remove(struct i2c_client *client); 103static int tmp401_remove(struct i2c_client *client);
104static struct tmp401_data *tmp401_update_device(struct device *dev); 104static struct tmp401_data *tmp401_update_device(struct device *dev);
@@ -488,7 +488,7 @@ static void tmp401_init_client(struct i2c_client *client)
488 i2c_smbus_write_byte_data(client, TMP401_CONFIG_WRITE, config); 488 i2c_smbus_write_byte_data(client, TMP401_CONFIG_WRITE, config);
489} 489}
490 490
491static int tmp401_detect(struct i2c_client *client, int _kind, 491static int tmp401_detect(struct i2c_client *client,
492 struct i2c_board_info *info) 492 struct i2c_board_info *info)
493{ 493{
494 enum chips kind; 494 enum chips kind;