hwmon: (w83791d) rename prototype parameter from 'register' to 'reg'
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / hwmon / w83791d.c
index 17cf1ab95521448c28f024ea9ace6f48e391b471..8c2844e5691ce7833874e2557d07a4d1572d99ae 100644 (file)
@@ -329,8 +329,8 @@ static int w83791d_detect(struct i2c_client *client,
                          struct i2c_board_info *info);
 static int w83791d_remove(struct i2c_client *client);
 
-static int w83791d_read(struct i2c_client *client, u8 register);
-static int w83791d_write(struct i2c_client *client, u8 register, u8 value);
+static int w83791d_read(struct i2c_client *client, u8 reg);
+static int w83791d_write(struct i2c_client *client, u8 reg, u8 value);
 static struct w83791d_data *w83791d_update_device(struct device *dev);
 
 #ifdef DEBUG