diff options
| author | Marek Vasut <[email protected]> | 2025-03-02 02:24:48 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-03-11 23:05:57 +0100 |
| commit | 877e29cfb1a72d929e79a66281228010d330c7f5 (patch) | |
| tree | efc10f5a1c6a4e3984852c1e0be2bb9c7229ba7c /include/linux/kernel.h | |
| parent | ce7e9a5a636215d2f09ae35acf552b07f4d5b66f (diff) | |
net: ravb: 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: 079eaca6e7b4 ("net: ravb: Allocate bb_miiphy using bb_miiphy_alloc() and fill in callbacks")
Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Paul Barker <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
