]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: lynx-28g: use "dev" argument more in lynx_28g_probe()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 25 Nov 2025 11:48:46 +0000 (13:48 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 17:41:06 +0000 (23:11 +0530)
commit04dceaa3c97d3cdc51e1d78dce32ed7388872d07
tree49869be40b2dada22c36dbd7ccaa4529aaac6922
parent055d08beea2c1a1d0f4eccabbcf570009969e3ce
phy: lynx-28g: use "dev" argument more in lynx_28g_probe()

We have "dev" which holds &pdev->dev, but we still dereference this
pointer 4 more times, instead of using the local variable.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20251125114847.804961-15-vladimir.oltean@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-lynx-28g.c