diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-04-19 16:05:48 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-04-28 16:17:59 +0100 |
commit | eb84ce7423ad8b44023b5b2f16490a64782110c4 (patch) | |
tree | a057c1c745714fab4e99376e47e0d0fe5d6034c3 /drivers/iio/amplifiers | |
parent | 3d56e19815b3e8eae2e734ab16a80d2a4812179a (diff) | |
download | linux-eb84ce7423ad8b44023b5b2f16490a64782110c4.tar.bz2 |
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>
Diffstat (limited to 'drivers/iio/amplifiers')
0 files changed, 0 insertions, 0 deletions