ice: Introduce ice_get_phy_model() wrapper

[ Upstream commit 5e0776451d ]

Introduce ice_get_phy_model() to improve code readability

Signed-off-by: Sergey Temerkhanov <sergey.temerkhanov@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: 258f5f9058 ("ice: Add correct PHY lane assignment")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Sergey Temerkhanov 2024-08-21 15:09:53 +02:00 • committed by Greg Kroah-Hartman
commit 922af90ffb
3 changed files with 25 additions and 21 deletions