From b587cb726467a9d1c62b4b61c284966fe677c040 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 16 Aug 2023 19:19:44 +0200 Subject: [PATCH] fsi: i2cr: Switch to use struct i2c_driver's .probe() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Eddie James Reviewed-by: Joel Stanley Link: https://lore.kernel.org/r/20230816171944.123705-1-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman --- drivers/fsi/fsi-master-i2cr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fsi/fsi-master-i2cr.c b/drivers/fsi/fsi-master-i2cr.c index 61659c27a9735..40f1f4d231e52 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", -- 2.30.2