Re: [PATCH 35/61] net: ethernet: ti: simplify getting .drvdata

2018-04-19 Thread Grygorii Strashko
On 04/19/2018 09:06 AM, Wolfram Sang wrote: We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply individually. Reviewed-by: Grygorii Strashko --

[PATCH 35/61] net: ethernet: ti: simplify getting .drvdata

2018-04-19 Thread Wolfram Sang
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply individually. drivers/net/ethernet/ti/cpsw.c | 6 ++ drivers/net/ethernet/ti/davinci_e