[PATCH net-next 2/3] net: stmmac: rk: use device rather than platform device in rk_priv_data

Andrew Lunn andrew at lunn.ch
Mon Jun 16 06:57:31 PDT 2025


On Mon, Jun 16, 2025 at 11:15:56AM +0100, Russell King (Oracle) wrote:
> All the code in dwmac-rk uses &bsp_priv->pdev->dev, nothing uses
> bsp_priv->pdev directly. Store the struct device rather than the
> struct platform_device in struct rk_priv_data, and simplifying the
> code.
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list