i2c: Drop the kind parameter from detect callbacks
[linux-2.6-block.git] / drivers / hwmon / lm92.c
index 47ac698709dc2e73650820f8305b6e095de74bef..da354222468dc9f018e9ad3dd2d6fffac47ca570 100644 (file)
@@ -319,7 +319,7 @@ static const struct attribute_group lm92_group = {
 };
 
 /* Return 0 if detection is successful, -ENODEV otherwise */
-static int lm92_detect(struct i2c_client *new_client, int kind,
+static int lm92_detect(struct i2c_client *new_client,
                       struct i2c_board_info *info)
 {
        struct i2c_adapter *adapter = new_client->adapter;