]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/hwmon/ds1621.c
i2c: Drop the kind parameter from detect callbacks
[linux-beck.git] / drivers / hwmon / ds1621.c
index 2a4c6a05b14f594b5760f3d62c98b07d7dbc0bcc..5fde2f5139fd1f8077d360711110c3037dd298d0 100644 (file)
@@ -224,7 +224,7 @@ static const struct attribute_group ds1621_group = {
 
 
 /* Return 0 if detection is successful, -ENODEV otherwise */
-static int ds1621_detect(struct i2c_client *client, int kind,
+static int ds1621_detect(struct i2c_client *client,
                         struct i2c_board_info *info)
 {
        struct i2c_adapter *adapter = client->adapter;