]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: microchip: remove dev_ops->setup() and teardown()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 21 May 2026 06:12:40 +0000 (08:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 May 2026 01:40:49 +0000 (18:40 -0700)
commitdf478153cb2d02f13cbcc61300a977b9176dfdb5
treea5896d7dd2beab8ca92f5b3e1893127721a7c6d3
parent4c54f910eefdb6971083d2483c3c1d9f1d973e99
net: dsa: microchip: remove dev_ops->setup() and teardown()

All switch families have been converted to have their own
ds->ops->setup() methods and to call the common ksz_teardown().

Remove the no longer used ksz_setup() function and the associated
ksz_dev_ops callbacks.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20260521-clean-ksz-2nd-series-v3-5-75c38971c19a@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/ksz_common.h