aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/sis5595.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-02-14 15:15:03 -0500
committerJean Delvare <khali@arrakis.delvare>2007-02-14 15:15:03 -0500
commited6bafbf6017d6a007b39de6b65ad3b8ae4c8aee (patch)
treef63bb4d3d5bd762b32fd94f3dd3b2fe31525e1bb /drivers/hwmon/sis5595.c
parent7f999aa726ded3fd10d7619945e8b7d7e39833b3 (diff)
hwmon: Cleanup a bogus legacy comment
Cleanup a bogus legacy comment that has been replicated to many hardware monitoring drivers. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/sis5595.c')
-rw-r--r--drivers/hwmon/sis5595.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index 95a4b5d9eaf2..3f400263fc0f 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -162,10 +162,8 @@ static inline u8 DIV_TO_REG(int val)
162} 162}
163#define DIV_FROM_REG(val) (1 << (val)) 163#define DIV_FROM_REG(val) (1 << (val))
164 164
165/* For the SIS5595, we need to keep some data in memory. That 165/* For each registered chip, we need to keep some data in memory.
166 data is pointed to by sis5595_list[NR]->data. The structure itself is 166 The structure is dynamically allocated. */
167 dynamically allocated, at the time when the new sis5595 client is
168 allocated. */
169struct sis5595_data { 167struct sis5595_data {
170 struct i2c_client client; 168 struct i2c_client client;
171 struct class_device *class_dev; 169 struct class_device *class_dev;