diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-30 07:17:26 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2023-06-01 23:42:28 +0900 |
commit | bcfa8e33064f1357e60a7c056a2e51cc5928d629 (patch) | |
tree | 464a2d667e5ffc35a681bceb949e8aec3d8c71cd /drivers/extcon/extcon-usbc-tusb320.c | |
parent | 93e60cd5e00e63f29e896453e10c7ede4cd8e882 (diff) |
extcon: Switch i2c drivers back to use .probe()
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
.probe_new() from struct i2c_driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-usbc-tusb320.c')
-rw-r--r-- | drivers/extcon/extcon-usbc-tusb320.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-usbc-tusb320.c b/drivers/extcon/extcon-usbc-tusb320.c index cc2d0ac7c5f6..4d08c2123e59 100644 --- a/drivers/extcon/extcon-usbc-tusb320.c +++ b/drivers/extcon/extcon-usbc-tusb320.c @@ -593,7 +593,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_new = tusb320_probe, + .probe = tusb320_probe, .remove = tusb320_remove, .driver = { .name = "extcon-tusb320", |