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/iio/common/cros_ec_sensors/cros_ec_sensors_core.c | 6 ++
1 file changed
On Thu, 19 Apr 2018 16:05:48 +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
Applied, thanks.
Jonathan
> ---
>
> Build tested only. buildbot is happy. Please apply i