net: phy: fixed_phy: add helper fixed_phy_find

Factor out the functionality to search for a fixed_phy matching an address. This improves readability of the code. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>


Author Heiner Kallweit Committer Jakub Kicinski Date Commit Parent 0625b3bf
+42 -39
1 changed file
+42 -39
1 changed file