diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-14 15:17:23 -0500 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-14 15:17:23 -0500 |
commit | 310ec79210d754afe51e2e4a983e846b60179abd (patch) | |
tree | 98e592b60162cd55e367dc19ba3553617a45b0be /drivers/hwmon/fschmd.c | |
parent | f40542532e96dda5506eb76badea322f2ae4731c (diff) |
i2c: Drop the kind parameter from detect callbacks
The "kind" parameter always has value -1, and nobody is using it any
longer, so we can remove it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/hwmon/fschmd.c')
-rw-r--r-- | drivers/hwmon/fschmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/fschmd.c b/drivers/hwmon/fschmd.c index 281829cd1533..bce18e0f1d61 100644 --- a/drivers/hwmon/fschmd.c +++ b/drivers/hwmon/fschmd.c | |||
@@ -221,7 +221,7 @@ static const int FSCHMD_NO_TEMP_SENSORS[7] = { 3, 3, 4, 3, 5, 5, 11 }; | |||
221 | 221 | ||
222 | static int fschmd_probe(struct i2c_client *client, | 222 | static int fschmd_probe(struct i2c_client *client, |
223 | const struct i2c_device_id *id); | 223 | const struct i2c_device_id *id); |
224 | static int fschmd_detect(struct i2c_client *client, int kind, | 224 | static int fschmd_detect(struct i2c_client *client, |
225 | struct i2c_board_info *info); | 225 | struct i2c_board_info *info); |
226 | static int fschmd_remove(struct i2c_client *client); | 226 | static int fschmd_remove(struct i2c_client *client); |
227 | static struct fschmd_data *fschmd_update_device(struct device *dev); | 227 | static struct fschmd_data *fschmd_update_device(struct device *dev); |
@@ -1000,7 +1000,7 @@ static void fschmd_dmi_decode(const struct dmi_header *header, void *dummy) | |||
1000 | } | 1000 | } |
1001 | } | 1001 | } |
1002 | 1002 | ||
1003 | static int fschmd_detect(struct i2c_client *client, int _kind, | 1003 | static int fschmd_detect(struct i2c_client *client, |
1004 | struct i2c_board_info *info) | 1004 | struct i2c_board_info *info) |
1005 | { | 1005 | { |
1006 | enum chips kind; | 1006 | enum chips kind; |