Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed6bafbf authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

hwmon: Cleanup a bogus legacy comment



Cleanup a bogus legacy comment that has been replicated to many
hardware monitoring drivers.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 7f999aa7
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -214,10 +214,8 @@ static const unsigned int pwm_freq[8] = {
};


/* For each registered IT87, we need to keep some data in memory. That
   data is pointed to by it87_list[NR]->data. The structure itself is
   dynamically allocated, at the same time when a new it87 client is
   allocated. */
/* For each registered chip, we need to keep some data in memory.
   The structure is dynamically allocated. */
struct it87_data {
	struct i2c_client client;
	struct class_device *class_dev;
+2 −4
Original line number Diff line number Diff line
@@ -125,10 +125,8 @@ static inline int TEMP_FROM_REG(s8 val)
   bad. Quite a lot of bookkeeping is done. A real driver can often cut
   some corners. */

/* For each registered LM78, we need to keep some data in memory. That
   data is pointed to by lm78_list[NR]->data. The structure itself is
   dynamically allocated, at the same time when a new lm78 client is
   allocated. */
/* For each registered chip, we need to keep some data in memory.
   The structure is dynamically allocated. */
struct lm78_data {
	struct i2c_client client;
	struct class_device *class_dev;
+2 −5
Original line number Diff line number Diff line
@@ -298,11 +298,6 @@ static int ZONE_TO_REG( int zone )
#define LM85_DATA_INTERVAL  (HZ + HZ / 2)
#define LM85_CONFIG_INTERVAL  (1 * 60 * HZ)

/* For each registered LM85, we need to keep some data in memory. That
   data is pointed to by lm85_list[NR]->data. The structure itself is
   dynamically allocated, at the same time when a new lm85 client is
   allocated. */

/* LM85 can automatically adjust fan speeds based on temperature
 * This structure encapsulates an entire Zone config.  There are
 * three zones (one for each temperature input) on the lm85
@@ -329,6 +324,8 @@ struct lm85_autofan {
	u8 min_off;	/* Min PWM or OFF below "limit", flag */
};

/* For each registered chip, we need to keep some data in memory.
   The structure is dynamically allocated. */
struct lm85_data {
	struct i2c_client client;
	struct class_device *class_dev;
+2 −4
Original line number Diff line number Diff line
@@ -162,10 +162,8 @@ static inline u8 DIV_TO_REG(int val)
}
#define DIV_FROM_REG(val) (1 << (val))

/* For the SIS5595, we need to keep some data in memory. That
   data is pointed to by sis5595_list[NR]->data. The structure itself is
   dynamically allocated, at the time when the new sis5595 client is
   allocated. */
/* For each registered chip, we need to keep some data in memory.
   The structure is dynamically allocated. */
struct sis5595_data {
	struct i2c_client client;
	struct class_device *class_dev;
+2 −3
Original line number Diff line number Diff line
@@ -292,9 +292,8 @@ static inline long TEMP_FROM_REG10(u16 val)
#define DIV_FROM_REG(val) (1 << (val))
#define DIV_TO_REG(val) ((val)==8?3:(val)==4?2:(val)==1?0:1)

/* For the VIA686A, we need to keep some data in memory.
   The structure is dynamically allocated, at the same time when a new
   via686a client is allocated. */
/* For each registered chip, we need to keep some data in memory.
   The structure is dynamically allocated. */
struct via686a_data {
	struct i2c_client client;
	struct class_device *class_dev;
Loading