Skip to contentSkip to conversation

drivers/hwmon/amc6821.c: fix initialisation

PATCH In review Frans Meulenbroeks 1 participant 1 message Jan 5, 2012 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 drivers/hwmon/amc6821.c: fix initialisation

fix checkpatch error:
ERROR: do not initialise statics to 0 or NULL

---
 drivers/hwmon/amc6821.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/amc6821.c +1 -1
index 4033974..8e9e927 100644
@@ -47,7 +47,7 @@ static const unsigned short normal_i2c[] = {0x18, 0x19, 0x1a, 0x2c, 0x2d, 0x2e,
  * Insmod parameters
  */
 
-static int pwminv = 0;	/*Inverted PWM output. */
+static int pwminv;	/*Inverted PWM output. */
 module_param(pwminv, int, S_IRUGO);
 
 static int init = 1; /*Power-on initialization.*/
Signature · 7 lines
1.7.8.1


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