summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-08-16 19:19:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-22 15:51:33 +0200
commitb587cb726467a9d1c62b4b61c284966fe677c040 (patch)
tree6c7feddc7108d11a74fe6830e492b37918299b3d
parente312cbdc11305568554a9e18a2ea5c2492c183f3 (diff)
fsi: i2cr: Switch to use struct i2c_driver's .probe()
struct i2c_driver::probe_new is about to go away. Switch the driver to use the probe callback with the same prototype. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Eddie James <eajames@linux.ibm.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20230816171944.123705-1-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/fsi/fsi-master-i2cr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fsi/fsi-master-i2cr.c b/drivers/fsi/fsi-master-i2cr.c
index 61659c27a973..40f1f4d231e5 100644
--- a/drivers/fsi/fsi-master-i2cr.c
+++ b/drivers/fsi/fsi-master-i2cr.c
@@ -301,7 +301,7 @@ static const struct of_device_id i2cr_ids[] = {
MODULE_DEVICE_TABLE(of, i2cr_ids);
static struct i2c_driver i2cr_driver = {
- .probe_new = i2cr_probe,
+ .probe = i2cr_probe,
.remove = i2cr_remove,
.driver = {
.name = "fsi-master-i2cr",