Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Uwe Kleine-König and committed by
Greg Kroah-Hartman
b587cb72 e312cbdc

+1 -1
+1 -1
drivers/fsi/fsi-master-i2cr.c
··· 301 301 MODULE_DEVICE_TABLE(of, i2cr_ids); 302 302 303 303 static struct i2c_driver i2cr_driver = { 304 - .probe_new = i2cr_probe, 304 + .probe = i2cr_probe, 305 305 .remove = i2cr_remove, 306 306 .driver = { 307 307 .name = "fsi-master-i2cr",