i2c: Drop the kind parameter from detect callbacks
[safe/jmp/linux-2.6] / drivers / hwmon / pcf8591.c
index 1d7ffeb..4355aad 100644 (file)
@@ -169,7 +169,7 @@ static const struct attribute_group pcf8591_attr_group_opt = {
  */
 
 /* Return 0 if detection is successful, -ENODEV otherwise */
-static int pcf8591_detect(struct i2c_client *client, int kind,
+static int pcf8591_detect(struct i2c_client *client,
                          struct i2c_board_info *info)
 {
        struct i2c_adapter *adapter = client->adapter;