Re: [PATCH 41/61] power: supply: simplify getting .drvdata

2018-04-25 Thread Sebastian Reichel
Hi, On Thu, Apr 19, 2018 at 04:06:11PM +0200, 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 > --- Thanks, queued. -- Sebastian > >

[PATCH 41/61] power: supply: 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/power/supply/gpio-charger.c | 3 +-- 1