summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-ptn5150.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-05-30 08:17:26 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2023-06-01 17:42:28 +0300
commitbcfa8e33064f1357e60a7c056a2e51cc5928d629 (patch)
tree464a2d667e5ffc35a681bceb949e8aec3d8c71cd /drivers/extcon/extcon-ptn5150.c
parent93e60cd5e00e63f29e896453e10c7ede4cd8e882 (diff)
downloadlinux-bcfa8e33064f1357e60a7c056a2e51cc5928d629.tar.xz
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-ptn5150.c')
-rw-r--r--drivers/extcon/extcon-ptn5150.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c
index 017a07197f38..4616da7e5430 100644
--- a/drivers/extcon/extcon-ptn5150.c
+++ b/drivers/extcon/extcon-ptn5150.c
@@ -348,7 +348,7 @@ static struct i2c_driver ptn5150_i2c_driver = {
.name = "ptn5150",
.of_match_table = ptn5150_dt_match,
},
- .probe_new = ptn5150_i2c_probe,
+ .probe = ptn5150_i2c_probe,
.id_table = ptn5150_i2c_id,
};
module_i2c_driver(ptn5150_i2c_driver);