aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl520sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
-rw-r--r--drivers/hwmon/gl520sm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwmon/gl520sm.c b/drivers/hwmon/gl520sm.c
index 92b5720ceaff..d03ba692fc42 100644
--- a/drivers/hwmon/gl520sm.c
+++ b/drivers/hwmon/gl520sm.c
@@ -81,8 +81,7 @@ static const u8 GL520_REG_TEMP_MAX_HYST[] = { 0x06, 0x18 };
81 81
82static int gl520_probe(struct i2c_client *client, 82static int gl520_probe(struct i2c_client *client,
83 const struct i2c_device_id *id); 83 const struct i2c_device_id *id);
84static int gl520_detect(struct i2c_client *client, int kind, 84static int gl520_detect(struct i2c_client *client, struct i2c_board_info *info);
85 struct i2c_board_info *info);
86static void gl520_init_client(struct i2c_client *client); 85static void gl520_init_client(struct i2c_client *client);
87static int gl520_remove(struct i2c_client *client); 86static int gl520_remove(struct i2c_client *client);
88static int gl520_read_value(struct i2c_client *client, u8 reg); 87static int gl520_read_value(struct i2c_client *client, u8 reg);
@@ -681,8 +680,7 @@ static const struct attribute_group gl520_group_opt = {
681 */ 680 */
682 681
683/* Return 0 if detection is successful, -ENODEV otherwise */ 682/* Return 0 if detection is successful, -ENODEV otherwise */
684static int gl520_detect(struct i2c_client *client, int kind, 683static int gl520_detect(struct i2c_client *client, struct i2c_board_info *info)
685 struct i2c_board_info *info)
686{ 684{
687 struct i2c_adapter *adapter = client->adapter; 685 struct i2c_adapter *adapter = client->adapter;
688 686