diff options
Diffstat (limited to 'drivers/hwmon/sis5595.c')
-rw-r--r-- | drivers/hwmon/sis5595.c | 6 |
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. */ | ||
169 | struct sis5595_data { | 167 | struct sis5595_data { |
170 | struct i2c_client client; | 168 | struct i2c_client client; |
171 | struct class_device *class_dev; | 169 | struct class_device *class_dev; |