summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/aspeed_adc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-04-19 16:05:48 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-28 16:17:59 +0100
commiteb84ce7423ad8b44023b5b2f16490a64782110c4 (patch)
treea057c1c745714fab4e99376e47e0d0fe5d6034c3 /drivers/iio/adc/aspeed_adc.c
parent3d56e19815b3e8eae2e734ab16a80d2a4812179a (diff)
downloadlinux-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/adc/aspeed_adc.c')
0 files changed, 0 insertions, 0 deletions