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

Vladimir Oltean vladimir.oltean at nxp.com
Mon Jan 31 09:07:48 PST 2022


On Sat, Jan 29, 2022 at 02:02:15PM -0800, 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: Vladimir Oltean <vladimir.oltean at nxp.com>


More information about the linux-arm-kernel mailing list