mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 13:03:25 +01:00
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>
This commit is contained in:
parent
e312cbdc11
commit
b587cb7264
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue