]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/hwmon/max1619.c
i2c: Drop the kind parameter from detect callbacks
[karo-tx-linux.git] / drivers / hwmon / max1619.c
index 7fcf5ff89e7f903b7fee1dc4cfa10ac8769613be..4baf94efd3726d11bfe2636820558cd5917281c2 100644 (file)
@@ -88,7 +88,7 @@ static int temp_to_reg(int val)
 
 static int max1619_probe(struct i2c_client *client,
                         const struct i2c_device_id *id);
-static int max1619_detect(struct i2c_client *client, int kind,
+static int max1619_detect(struct i2c_client *client,
                          struct i2c_board_info *info);
 static void max1619_init_client(struct i2c_client *client);
 static int max1619_remove(struct i2c_client *client);
@@ -226,7 +226,7 @@ static const struct attribute_group max1619_group = {
  */
 
 /* Return 0 if detection is successful, -ENODEV otherwise */
-static int max1619_detect(struct i2c_client *client, int kind,
+static int max1619_detect(struct i2c_client *client,
                          struct i2c_board_info *info)
 {
        struct i2c_adapter *adapter = client->adapter;