projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2faaa93
)
hwmon: (amc6821) fix initialisation
author
Frans Meulenbroeks
<fransmeulenbroeks@gmail.com>
Thu, 5 Jan 2012 18:50:15 +0000
(19:50 +0100)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:28 +0000
(18:26 -0700)
fix checkpatch error:
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/amc6821.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/amc6821.c
b/drivers/hwmon/amc6821.c
index 89a6b9da0ec31b7efb2ec4ea714450a5cc14e8e6..4a4bfef3d97629bb647e088a6dfeccaadcc2cfa8 100644
(file)
--- a/
drivers/hwmon/amc6821.c
+++ b/
drivers/hwmon/amc6821.c
@@
-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.*/