commit | ebbdcba2775746d2c90b55c4c6ce8c62c6bd319b | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu Apr 19 16:05:49 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Apr 28 16:17:59 2018 +0100 |
tree | 803af476df09761593b78e437f8906c98b7f47f0 | |
parent | eb84ce7423ad8b44023b5b2f16490a64782110c4 [diff] |
iio: common: hid-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>