aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm78.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm78.c')
-rw-r--r--drivers/hwmon/lm78.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index 73bc2ffc598d..886786c33916 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -125,10 +125,8 @@ static inline int TEMP_FROM_REG(s8 val)
125 bad. Quite a lot of bookkeeping is done. A real driver can often cut 125 bad. Quite a lot of bookkeeping is done. A real driver can often cut
126 some corners. */ 126 some corners. */
127 127
128/* For each registered LM78, we need to keep some data in memory. That 128/* For each registered chip, we need to keep some data in memory.
129 data is pointed to by lm78_list[NR]->data. The structure itself is 129 The structure is dynamically allocated. */
130 dynamically allocated, at the same time when a new lm78 client is
131 allocated. */
132struct lm78_data { 130struct lm78_data {
133 struct i2c_client client; 131 struct i2c_client client;
134 struct class_device *class_dev; 132 struct class_device *class_dev;