]> err.no Git - linux-2.6/commitdiff
[PATCH] hwmon: Discard explicit static initializations to 0
authorJean Delvare <khali@linux-fr.org>
Sun, 25 Sep 2005 14:26:44 +0000 (16:26 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:06 +0000 (14:02 -0700)
Kill explicit static initializations to 0 in 2 hwmon drivers.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/hwmon/adm1021.c |    2 +-
 drivers/hwmon/via686a.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

drivers/hwmon/adm1021.c
drivers/hwmon/via686a.c

index e928cdb041cba28d76f23821172becc7c3589397..58aee3a00caaa087468c3f97a420e9623ae517e0 100644 (file)
@@ -121,7 +121,7 @@ static int adm1021_write_value(struct i2c_client *client, u8 reg,
 static struct adm1021_data *adm1021_update_device(struct device *dev);
 
 /* (amalysh) read only mode, otherwise any limit's writing confuse BIOS */
-static int read_only = 0;
+static int read_only;
 
 
 /* This is the driver that will be inserted */
index 688ccf924c3a329a1670887887c4e4639a373b5d..54861f13fee242042c30531e489fd1c7809ad1c4 100644 (file)
@@ -44,7 +44,7 @@
 
 /* If force_addr is set to anything different from 0, we forcibly enable
    the device at the given address. */
-static unsigned short force_addr = 0;
+static unsigned short force_addr;
 module_param(force_addr, ushort, 0);
 MODULE_PARM_DESC(force_addr,
                 "Initialize the base address of the sensors");