diff options
Diffstat (limited to 'drivers/hwmon/via686a.c')
-rw-r--r-- | drivers/hwmon/via686a.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c index f8acada0537a..9a440c8cc520 100644 --- a/drivers/hwmon/via686a.c +++ b/drivers/hwmon/via686a.c | |||
@@ -292,9 +292,8 @@ static inline long TEMP_FROM_REG10(u16 val) | |||
292 | #define DIV_FROM_REG(val) (1 << (val)) | 292 | #define DIV_FROM_REG(val) (1 << (val)) |
293 | #define DIV_TO_REG(val) ((val)==8?3:(val)==4?2:(val)==1?0:1) | 293 | #define DIV_TO_REG(val) ((val)==8?3:(val)==4?2:(val)==1?0:1) |
294 | 294 | ||
295 | /* For the VIA686A, we need to keep some data in memory. | 295 | /* For each registered chip, we need to keep some data in memory. |
296 | The structure is dynamically allocated, at the same time when a new | 296 | The structure is dynamically allocated. */ |
297 | via686a client is allocated. */ | ||
298 | struct via686a_data { | 297 | struct via686a_data { |
299 | struct i2c_client client; | 298 | struct i2c_client client; |
300 | struct class_device *class_dev; | 299 | struct class_device *class_dev; |