-Wall cleanups

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1811 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2003-06-22 17:55:05 +00:00
1 parent d04e4ed06b
commit 7eeec50bfe
3 files changed
+1 -19

No files matched your search

-9
View File
@@ -341,15 +341,6 @@ struct adm1026_data {
u8 config3; /* Register value */
};
#ifdef MODULE
static
#else
extern
#endif
int __init sensors_adm1026_init(void);
static int __init adm1026_cleanup(void);
static int adm1026_attach_adapter(struct i2c_adapter *adapter);
static int adm1026_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind);
-9
View File
@@ -413,15 +413,6 @@ struct lm85_data {
struct lm85_zone zone[3];
};
#ifdef MODULE
static
#else
extern
#endif
int __init sensors_lm85_init(void);
static int __init lm85_cleanup(void);
static int lm85_attach_adapter(struct i2c_adapter *adapter);
static int lm85_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind);
+1 -1
View File
@@ -168,7 +168,7 @@ static int smartbatt_attach_adapter(struct i2c_adapter *adapter)
int smartbatt_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind)
{
int i, cur, conf, hyst, os;
int i;
struct i2c_client *new_client;
struct smartbatt_data *data;
int err = 0;