]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: fixed_phy: add helper fixed_phy_find
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 6 Sep 2025 22:01:52 +0000 (00:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Sep 2025 01:11:53 +0000 (18:11 -0700)
commitf8db55c8eb8e9d958694bae6958d5a3467caabb2
tree17df942cac16e7261b1c7ed667c96140ef848e55
parent0625b3bfbb7f5706d83fa1fd3f8a30a5fded108f
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>
drivers/net/phy/fixed_phy.c