| Subject | Re: [PATCH 31/61] net: dsa: simplify getting .drvdata | From | Florian Fainelli <> | Date | Thu, 26 Apr 2018 17:22:09 -0700 |
| |
On 04/19/2018 07: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 <wsa+renesas@sang-engineering.com> > --- > > Build tested only. buildbot is happy. Please apply individually.
Similar to my other comment on patch 4, would not you want to use dev_set_drvdata() to be consistent? This would be functionally equivalent. -- Florian
|