diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2012-01-05 19:50:15 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 18:26:28 -0700 |
commit | a6bee4a5571d24b9ba7c98f6becc7c45312a537d (patch) | |
tree | 91ca88a17b2acb191c0ae2cb41c0133b9762cdec /drivers/hwmon/amc6821.c | |
parent | 2faaa9316cc5556bb3d7d0d91720820434c317ba (diff) | |
download | linux-stable-a6bee4a5571d24b9ba7c98f6becc7c45312a537d.tar.gz linux-stable-a6bee4a5571d24b9ba7c98f6becc7c45312a537d.tar.bz2 linux-stable-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>
Diffstat (limited to 'drivers/hwmon/amc6821.c')
-rw-r--r-- | drivers/hwmon/amc6821.c | 2 |
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.*/ |