Merge tag 'drm-next-2021-09-10' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / drivers / hwmon / adm1026.c
index af77096..49cefba 100644 (file)
@@ -1816,8 +1816,7 @@ static void adm1026_init_client(struct i2c_client *client)
        }
 }
 
-static int adm1026_probe(struct i2c_client *client,
-                        const struct i2c_device_id *id)
+static int adm1026_probe(struct i2c_client *client)
 {
        struct device *dev = &client->dev;
        struct device *hwmon_dev;
@@ -1860,7 +1859,7 @@ static struct i2c_driver adm1026_driver = {
        .driver = {
                .name   = "adm1026",
        },
-       .probe          = adm1026_probe,
+       .probe_new      = adm1026_probe,
        .id_table       = adm1026_id,
        .detect         = adm1026_detect,
        .address_list   = normal_i2c,