The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
        return 0;
 }
 
-static int adnp_i2c_probe(struct i2c_client *client,
-                                   const struct i2c_device_id *id)
+static int adnp_i2c_probe(struct i2c_client *client)
 {
        struct device_node *np = client->dev.of_node;
        struct adnp *adnp;
                .name = "gpio-adnp",
                .of_match_table = adnp_of_match,
        },
-       .probe = adnp_i2c_probe,
+       .probe_new = adnp_i2c_probe,
        .id_table = adnp_i2c_id,
 };
 module_i2c_driver(adnp_i2c_driver);