diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-04-19 17:05:33 +0300 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2018-08-01 19:58:09 +0300 |
commit | ada953de4486a3e2a42c3b8146adb36d0dcbded2 (patch) | |
tree | ea49b47fb5abda14166afe642f47c0e04d94c537 /drivers/hwmon/max6642.c | |
parent | 171613926abc9980e58cb36d5d54fe60e58a03a5 (diff) | |
download | linux-ada953de4486a3e2a42c3b8146adb36d0dcbded2.tar.xz |
auxdisplay: 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'drivers/hwmon/max6642.c')
0 files changed, 0 insertions, 0 deletions