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: NWolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Showing
想要评论请 注册 或 登录