aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-09-25 10:29:38 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 17:02:06 -0400
commit7d845b10d06fa20a595a5161edabc5e846ed28a6 (patch)
tree93082c4be645f1d7a242e34de74d343e1aa3ff46 /drivers/hwmon
parent0200296310a454b39efc995e676f9ff60e641edb (diff)
[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: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg 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(-)
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/lm78.c1
-rw-r--r--drivers/hwmon/via686a.c1
-rw-r--r--drivers/hwmon/w83627hf.c1
-rw-r--r--drivers/hwmon/w83781d.c1
-rw-r--r--drivers/hwmon/w83792d.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index f6730dc3573b..d697a554286f 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -726,7 +726,6 @@ static int lm78_write_value(struct i2c_client *client, u8 reg, u8 value)
726 return i2c_smbus_write_byte_data(client, reg, value); 726 return i2c_smbus_write_byte_data(client, reg, value);
727} 727}
728 728
729/* Called when we have found a new LM78. It should set limits, etc. */
730static void lm78_init_client(struct i2c_client *client) 729static void lm78_init_client(struct i2c_client *client)
731{ 730{
732 u8 config = lm78_read_value(client, LM78_REG_CONFIG); 731 u8 config = lm78_read_value(client, LM78_REG_CONFIG);
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c
index 54861f13fee2..c6e64f4abdea 100644
--- a/drivers/hwmon/via686a.c
+++ b/drivers/hwmon/via686a.c
@@ -712,7 +712,6 @@ static int via686a_detach_client(struct i2c_client *client)
712 return 0; 712 return 0;
713} 713}
714 714
715/* Called when we have found a new VIA686A. Set limits, etc. */
716static void via686a_init_client(struct i2c_client *client) 715static void via686a_init_client(struct i2c_client *client)
717{ 716{
718 u8 reg; 717 u8 reg;
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index 3479dc5208e2..7f6f7280878d 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -1275,7 +1275,6 @@ static int w83627hf_write_value(struct i2c_client *client, u16 reg, u16 value)
1275 return 0; 1275 return 0;
1276} 1276}
1277 1277
1278/* Called when we have found a new W83781D. It should set limits, etc. */
1279static void w83627hf_init_client(struct i2c_client *client) 1278static void w83627hf_init_client(struct i2c_client *client)
1280{ 1279{
1281 struct w83627hf_data *data = i2c_get_clientdata(client); 1280 struct w83627hf_data *data = i2c_get_clientdata(client);
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c
index 4c43337ca780..26b1fac7c619 100644
--- a/drivers/hwmon/w83781d.c
+++ b/drivers/hwmon/w83781d.c
@@ -1451,7 +1451,6 @@ w83781d_write_value(struct i2c_client *client, u16 reg, u16 value)
1451 return 0; 1451 return 0;
1452} 1452}
1453 1453
1454/* Called when we have found a new W83781D. It should set limits, etc. */
1455static void 1454static void
1456w83781d_init_client(struct i2c_client *client) 1455w83781d_init_client(struct i2c_client *client)
1457{ 1456{
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c
index ba0c28015f6a..7bbd1888ce94 100644
--- a/drivers/hwmon/w83792d.c
+++ b/drivers/hwmon/w83792d.c
@@ -1429,7 +1429,6 @@ w83792d_write_value(struct i2c_client *client, u8 reg, u8 value)
1429 return 0; 1429 return 0;
1430} 1430}
1431 1431
1432/* Called when we have found a new W83792D. It should set limits, etc. */
1433static void 1432static void
1434w83792d_init_client(struct i2c_client *client) 1433w83792d_init_client(struct i2c_client *client)
1435{ 1434{