commit | eb84ce7423ad8b44023b5b2f16490a64782110c4 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu Apr 19 16:05:48 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Apr 28 16:17:59 2018 +0100 |
tree | a057c1c745714fab4e99376e47e0d0fe5d6034c3 | |
parent | 3d56e19815b3e8eae2e734ab16a80d2a4812179a [diff] |
iio: common: cros_ec_sensors: simplify getting .drvdata 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> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>