Commit 7d845b10 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

[PATCH] hwmon: Discard bogus comment about init setting limits

Discard a common out-of-date comment in 5 hardware monitoring drivers.
The hardware monitoring chip drivers are no more setting sensor limits
at initialization time, for quite some time already.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>

 drivers/hwmon/lm78.c     |    1 -
 drivers/hwmon/via686a.c  |    1 -
 drivers/hwmon/w83627hf.c |    1 -
 drivers/hwmon/w83781d.c  |    1 -
 drivers/hwmon/w83792d.c  |    1 -
 5 files changed, 5 deletions(-)
parent 02002963
...@@ -726,7 +726,6 @@ static int lm78_write_value(struct i2c_client *client, u8 reg, u8 value) ...@@ -726,7 +726,6 @@ static int lm78_write_value(struct i2c_client *client, u8 reg, u8 value)
return i2c_smbus_write_byte_data(client, reg, value); return i2c_smbus_write_byte_data(client, reg, value);
} }
/* Called when we have found a new LM78. It should set limits, etc. */
static void lm78_init_client(struct i2c_client *client) static void lm78_init_client(struct i2c_client *client)
{ {
u8 config = lm78_read_value(client, LM78_REG_CONFIG); u8 config = lm78_read_value(client, LM78_REG_CONFIG);
......
...@@ -712,7 +712,6 @@ static int via686a_detach_client(struct i2c_client *client) ...@@ -712,7 +712,6 @@ static int via686a_detach_client(struct i2c_client *client)
return 0; return 0;
} }
/* Called when we have found a new VIA686A. Set limits, etc. */
static void via686a_init_client(struct i2c_client *client) static void via686a_init_client(struct i2c_client *client)
{ {
u8 reg; u8 reg;
......
...@@ -1275,7 +1275,6 @@ static int w83627hf_write_value(struct i2c_client *client, u16 reg, u16 value) ...@@ -1275,7 +1275,6 @@ static int w83627hf_write_value(struct i2c_client *client, u16 reg, u16 value)
return 0; return 0;
} }
/* Called when we have found a new W83781D. It should set limits, etc. */
static void w83627hf_init_client(struct i2c_client *client) static void w83627hf_init_client(struct i2c_client *client)
{ {
struct w83627hf_data *data = i2c_get_clientdata(client); struct w83627hf_data *data = i2c_get_clientdata(client);
......
...@@ -1451,7 +1451,6 @@ w83781d_write_value(struct i2c_client *client, u16 reg, u16 value) ...@@ -1451,7 +1451,6 @@ w83781d_write_value(struct i2c_client *client, u16 reg, u16 value)
return 0; return 0;
} }
/* Called when we have found a new W83781D. It should set limits, etc. */
static void static void
w83781d_init_client(struct i2c_client *client) w83781d_init_client(struct i2c_client *client)
{ {
......
...@@ -1429,7 +1429,6 @@ w83792d_write_value(struct i2c_client *client, u8 reg, u8 value) ...@@ -1429,7 +1429,6 @@ w83792d_write_value(struct i2c_client *client, u8 reg, u8 value)
return 0; return 0;
} }
/* Called when we have found a new W83792D. It should set limits, etc. */
static void static void
w83792d_init_client(struct i2c_client *client) w83792d_init_client(struct i2c_client *client)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment