On Thu, May 14, 2020 at 02:07:32AM +0200, Marek Vasut wrote:
> Since the driver probe function already has a struct device *dev pointer
> and can easily derive of_node pointer from it, pass the of_node pointer as
> a parameter to ks8851_init_mac() to avoid fishing it out from ks->spidev.
> This is the only reference to spidev in the function, so get rid of it.
> This is done in preparation for unifying the KS8851 SPI and parallel bus
> drivers.
> 
> No functional change.
> 
> Signed-off-by: Marek Vasut <[email protected]>
> Cc: David S. Miller <[email protected]>
> Cc: Lukas Wunner <[email protected]>
> Cc: Petr Stetiar <[email protected]>
> Cc: YueHaibing <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

    Andrew

Reply via email to