diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2025-03-02 02:24:47 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2025-03-11 23:05:57 +0100 |
commit | ce7e9a5a636215d2f09ae35acf552b07f4d5b66f (patch) | |
tree | 7a20839430cfd5c88534b2924145b8f0f2297c63 /drivers/pwm/pwm-stm32.c | |
parent | 596d67e5163834893e9b59d7a5cb9e9a1cd8bc24 (diff) |
net: designware: Switch back to mdio_alloc()
Use mdio_alloc() again to allocate MDIO bus. This is possible
because all the miiphybb parameters and ops passing is handled in
at bb_miiphy_read()/bb_miiphy_write() level.
This also fixes previously missed bb_miiphy_free() in .remove
callback of this driver. which does not pose a problem anymore.
Fixes: cbb69c2fafcc ("net: designware: Allocate bb_miiphy using bb_miiphy_alloc() and fill in callbacks")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions