Skip to content

Commit

Permalink
[PATCH] hwmon: Discard explicit static initializations to 0
Browse files Browse the repository at this point in the history
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(-)
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 6050709 commit 0200296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/hwmon/adm1021.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion drivers/hwmon/via686a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0200296

Please sign in to comment.