aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/hwa742.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-17 13:58:58 +0900
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-20 12:22:01 +0300
commitdffb3b47baf472c538c85c22fdce78cbed786536 (patch)
treee4b19eafe8410ab154f0835c6667278358e1f76a /drivers/video/omap/hwa742.c
parentvideo: nuc900fb: use dev_get_platdata() (diff)
downloadlinux-dev-dffb3b47baf472c538c85c22fdce78cbed786536.tar.xz
linux-dev-dffb3b47baf472c538c85c22fdce78cbed786536.zip
video: omapfb: use dev_get_platdata()
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap/hwa742.c')
-rw-r--r--drivers/video/omap/hwa742.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap/hwa742.c b/drivers/video/omap/hwa742.c
index f349ee6f0cea..a4ee65b8f918 100644
--- a/drivers/video/omap/hwa742.c
+++ b/drivers/video/omap/hwa742.c
@@ -947,7 +947,7 @@ static int hwa742_init(struct omapfb_device *fbdev, int ext_mode,
hwa742.extif = fbdev->ext_if;
hwa742.int_ctrl = fbdev->int_ctrl;
- omapfb_conf = fbdev->dev->platform_data;
+ omapfb_conf = dev_get_platdata(fbdev->dev);
hwa742.sys_ck = clk_get(NULL, "hwa_sys_ck");