Skip to content

Commit ca027ae

Browse files
Uwe Kleine-Königkrzk
authored andcommitted
ARM: s3c: Switch i2c drivers back to use .probe()
After commit b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit 03c835f ("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> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20230526214003.2134595-1-u.kleine-koenig@pengutronix.de Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 4e486a6 commit ca027ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/mach-s3c/mach-crag6410-module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ static struct i2c_driver wlf_gf_module_driver = {
418418
.driver = {
419419
.name = "wlf-gf-module"
420420
},
421-
.probe_new = wlf_gf_module_probe,
421+
.probe = wlf_gf_module_probe,
422422
.id_table = wlf_gf_module_id,
423423
};
424424

0 commit comments

Comments
 (0)