i2c: Drop the kind parameter from detect callbacks
[deliverable/linux.git] / drivers / hwmon / adt7462.c
index f9c9562b6a94f0e6f136528c9831922f5119b4ae..30cf002c677f7f0c8242feb67afc6c1372d31f03 100644 (file)
@@ -237,7 +237,7 @@ struct adt7462_data {
 
 static int adt7462_probe(struct i2c_client *client,
                         const struct i2c_device_id *id);
-static int adt7462_detect(struct i2c_client *client, int kind,
+static int adt7462_detect(struct i2c_client *client,
                          struct i2c_board_info *info);
 static int adt7462_remove(struct i2c_client *client);
 
@@ -1902,7 +1902,7 @@ static struct attribute *adt7462_attr[] =
 };
 
 /* Return 0 if detection is successful, -ENODEV otherwise */
-static int adt7462_detect(struct i2c_client *client, int kind,
+static int adt7462_detect(struct i2c_client *client,
                          struct i2c_board_info *info)
 {
        struct i2c_adapter *adapter = client->adapter;
This page took 0.027976 seconds and 5 git commands to generate.