Skip to contentSkip to conversation

hwmon: (lm92) Drop unnecessary forward declaration

PATCH In review Guenter Roeck 2 participants 2 messages Apr 18, 2014 – Apr 23, 2014 Hardware monitoring

lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 1/4 hwmon: (lm92) Drop unnecessary forward declaration

---
 drivers/hwmon/lm92.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/hwmon/lm92.c +0 -3
index b9022db..5ca8e14 100644
@@ -93,9 +93,6 @@ static inline u8 ALARMS_FROM_REG(s16 reg)
 	return reg & 0x0007;
 }
 
-/* Driver data (common to all clients) */
-static struct i2c_driver lm92_driver;
-
 /* Client data (each client gets its own) */
 struct lm92_data {
 	struct device *hwmon_dev;
Signature · 7 lines
1.7.9.7


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Reviewed-by on v1 1/4
#1 lore raw
Quoted 10 lines · Guenter Roeck
---
 drivers/hwmon/lm92.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/hwmon/lm92.c +0 -0
index b9022db..5ca8e14 100644

drivers/hwmon/lm92.c static inline u8 ALARMS_FROM_REG(s16 reg) · line 98

Quoted 9 lines
drivers/hwmon/lm92.c +0 -3
@@ -93,9 +93,6 @@ static inline u8 ALARMS_FROM_REG(s16 reg)
 	return reg & 0x0007;
 }
 
-/* Driver data (common to all clients) */
-static struct i2c_driver lm92_driver;
-
 /* Client data (each client gets its own) */
 struct lm92_data {
 	struct device *hwmon_dev;

Interesting :)

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors