drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:22 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:28 +0000 (12:09 +0200)
commitee0d68ab5f0997a500fdf90924a58e787b216292
treeee965436534ffe64feeb611f7834fe1996a7d215
parent0d634f6e5b0d1d6e2b044b23d448ab5fb7c102e5
drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper

Use container_of instead of casting first structure member.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/udl/udl_fb.c