Re: [PATCH 1/9] net: dsa: bcm_sf2: simplify getting .driver_data

From: Andrew Lunn
Date: Sun Oct 21 2018 - 19:16:41 EST


On Sun, Oct 21, 2018 at 10:00:12PM +0200, Wolfram Sang wrote:
> We should get 'driver_data' from 'struct device' directly. Going via
> platform_device is an unneeded step back and forth.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew