diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-04-19 16:05:49 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-04-28 16:17:59 +0100 |
commit | ebbdcba2775746d2c90b55c4c6ce8c62c6bd319b (patch) | |
tree | 803af476df09761593b78e437f8906c98b7f47f0 /drivers/edac/edac_module.c | |
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>
Diffstat (limited to 'drivers/edac/edac_module.c')
0 files changed, 0 insertions, 0 deletions