[RFC v6 net-next 3/9] net: mdio: mscc-miim: add local dev variable to cleanup probe function

Florian Fainelli f.fainelli at gmail.com
Mon Jan 31 15:12:18 PST 2022



On 1/29/2022 2:02 PM, Colin Foster wrote:
> Create a local device *dev in order to not dereference the platform_device
> several times throughout the probe function.
> 
> Signed-off-by: Colin Foster <colin.foster at in-advantage.com>

Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the linux-arm-kernel mailing list