realtek: 6.6: rework patch net-phy-sfp-add-support-for-SMBus
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 9 Sep 2024 10:50:44 +0000 (06:50 -0400)
committerSander Vanheule <sander@svanheule.net>
Sat, 14 Sep 2024 17:58:55 +0000 (19:58 +0200)
commitb34d048a62905bb8dea72c7986ebff69ab5e0cf6
tree8de2fde95351105d3d584ee1d596830617baaf6e
parentacfa72afef8fa35744a2736bfed7b3c5515e71d3
realtek: 6.6: rework patch net-phy-sfp-add-support-for-SMBus

With the new kernel the MDIO bus gets created after the smbus
read/write functions are used. Make use of native functions.
Relocate bus initialization into a separate function to make
patch easier to read.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/patches-6.6/714-net-phy-sfp-add-support-for-SMBus.patch