Merge tag 'perf-tools-fixes-for-v5.13-2021-06-13' of git://git.kernel.org/pub/scm...
[linux-2.6-microblaze.git] / drivers / hwmon / adt7411.c
index 5a839cc..fad74aa 100644 (file)
@@ -666,8 +666,7 @@ static const struct hwmon_chip_info adt7411_chip_info = {
        .info = adt7411_info,
 };
 
-static int adt7411_probe(struct i2c_client *client,
-                                  const struct i2c_device_id *id)
+static int adt7411_probe(struct i2c_client *client)
 {
        struct device *dev = &client->dev;
        struct adt7411_data *data;
@@ -707,7 +706,7 @@ static struct i2c_driver adt7411_driver = {
        .driver         = {
                .name           = "adt7411",
        },
-       .probe  = adt7411_probe,
+       .probe_new = adt7411_probe,
        .id_table = adt7411_id,
        .detect = adt7411_detect,
        .address_list = normal_i2c,