net: mlxsw: i2c: Switch back to use struct i2c_driver's .probe()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 12 Jun 2023 07:22:22 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2023 10:56:41 +0000 (11:56 +0100)
commit3a2cb45ca0ccb5dab9b701f50cfd981f8dfd1673
tree59d4862cdb8eccb6c137a4f4054b87f5be94c526
parent98c485eaf509bc0e2a85f9b58d17cd501f274c4e
net: mlxsw: i2c: Switch back to use struct i2c_driver's .probe()

After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
commit 03c835f498b5 ("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: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/i2c.c