Merge tag 'char-misc-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-microblaze.git] / drivers / extcon / extcon-usbc-tusb320.c
index 9dfa545..b408ce9 100644 (file)
@@ -428,8 +428,7 @@ static int tusb320_typec_probe(struct i2c_client *client,
        return 0;
 }
 
-static int tusb320_probe(struct i2c_client *client,
-                        const struct i2c_device_id *id)
+static int tusb320_probe(struct i2c_client *client)
 {
        struct tusb320_priv *priv;
        const void *match_data;
@@ -502,7 +501,7 @@ static const struct of_device_id tusb320_extcon_dt_match[] = {
 MODULE_DEVICE_TABLE(of, tusb320_extcon_dt_match);
 
 static struct i2c_driver tusb320_extcon_driver = {
-       .probe          = tusb320_probe,
+       .probe_new      = tusb320_probe,
        .driver         = {
                .name   = "extcon-tusb320",
                .of_match_table = tusb320_extcon_dt_match,