summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-05 19:50:15 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-19 02:26:28 +0100
commita6bee4a5571d24b9ba7c98f6becc7c45312a537d (patch)
tree91ca88a17b2acb191c0ae2cb41c0133b9762cdec
parenthwmon: (lm80) add error handling (diff)
downloadlinux-a6bee4a5571d24b9ba7c98f6becc7c45312a537d.tar.xz
linux-a6bee4a5571d24b9ba7c98f6becc7c45312a537d.zip
hwmon: (amc6821) fix initialisation
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>
-rw-r--r--drivers/hwmon/amc6821.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/amc6821.c b/drivers/hwmon/amc6821.c
index 89a6b9da0ec3..4a4bfef3d976 100644
--- 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.*/