summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/amc6821.c
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-18 18:26:28 -0700
commita6bee4a5571d24b9ba7c98f6becc7c45312a537d (patch)
tree91ca88a17b2acb191c0ae2cb41c0133b9762cdec /drivers/hwmon/amc6821.c
parent2faaa9316cc5556bb3d7d0d91720820434c317ba (diff)
downloadop-kernel-dev-a6bee4a5571d24b9ba7c98f6becc7c45312a537d.zip
op-kernel-dev-a6bee4a5571d24b9ba7c98f6becc7c45312a537d.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/amc6821.c b/drivers/hwmon/amc6821.c
index 89a6b9d..4a4bfef 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.*/
OpenPOWER on IntegriCloud