OSDN Git Service

net: dsa: microchip: ksz9477: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 23 Nov 2022 04:54:57 +0000 (20:54 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Nov 2022 20:50:06 +0000 (12:50 -0800)
commitf925e2154de9ddfa57091bd8b6ba1b2509c55a85
tree9f6babff496499623442007ec51a71deea2f6d53
parentc479babce5b1f7b6e6ec172bdca075534343be55
net: dsa: microchip: ksz9477: Convert to i2c's .probe_new()

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz9477_i2c.c