So the identical remedy must be applied to all DSA switch drivers, which can be: either use devres for each the mdiobus allocation and registration, or Really don't use devres in the least. The felix driver has the code https://mediajx.com/story19525055/smm-vs-mgus-can-be-fun-for-anyone