video: fbdev: simplify getting .drvdata
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 24 Apr 2018 16:11:21 +0000 (18:11 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 24 Apr 2018 16:11:21 +0000 (18:11 +0200)
commitb2faabc8309065526a43d634da95139afa16770f
tree14bd406f141267e69ca1da5396792304b21a2d2d
parentc8b54776c173227eb4d89d8fa682333165275402
video: fbdev: 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: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/auo_k190x.c
drivers/video/fbdev/sh_mobile_lcdcfb.c
drivers/video/fbdev/sh_mobile_meram.c