diff options
Diffstat (limited to 'drivers/hwmon/w83781d.c')
-rw-r--r-- | drivers/hwmon/w83781d.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index 1232171c3aad..a47da3ec5472 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -221,14 +221,8 @@ DIV_TO_REG(long val, enum chips type) | |||
221 | a bit - except if there could be more than one SMBus. Groan. No solution | 221 | a bit - except if there could be more than one SMBus. Groan. No solution |
222 | for this yet. */ | 222 | for this yet. */ |
223 | 223 | ||
224 | /* This module may seem overly long and complicated. In fact, it is not so | 224 | /* For each registered chip, we need to keep some data in memory. |
225 | bad. Quite a lot of bookkeeping is done. A real driver can often cut | 225 | The structure is dynamically allocated. */ |
226 | some corners. */ | ||
227 | |||
228 | /* For each registered W83781D, we need to keep some data in memory. That | ||
229 | data is pointed to by w83781d_list[NR]->data. The structure itself is | ||
230 | dynamically allocated, at the same time when a new w83781d client is | ||
231 | allocated. */ | ||
232 | struct w83781d_data { | 226 | struct w83781d_data { |
233 | struct i2c_client client; | 227 | struct i2c_client client; |
234 | struct class_device *class_dev; | 228 | struct class_device *class_dev; |