So precisely the same procedure should be applied to all DSA swap drivers, that is: either use devres for both the mdiobus allocation and registration, or don't use devres at all. The felix driver has the code https://kiararedi805781.wikicorrespondence.com/user