]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ti: davinci_emac: stop using bus type mdio_bus_type
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 27 Feb 2026 20:52:16 +0000 (21:52 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Mar 2026 12:12:08 +0000 (13:12 +0100)
commite07bd1f7161fd0918e644d97e11608854c3bf14b
treea730ae85e1c9364ca0359f71965f8d2e33fbec75
parentf56438a74d8809fa0c28811cd782a74477994fdd
net: ti: davinci_emac: stop using bus type mdio_bus_type

This driver is the only user of mdio_bus_type outside phylib.
Using mdio_bus_type isn't strictly needed here, so use an alternative
approach. This will allow to make mdio_bus_type private to phylib
in a follow-up series.

Compile-tested only.

Note: Devices supported by this driver are OF-only, therefore the string
      comparison in match_first_device() isn't needed any longer.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/cc8e83aa-48c3-4497-b6ad-760a7f9e25dc@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/ti/davinci_emac.c