drm/ast: use container_of to resolve ast_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:21 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:27 +0000 (12:09 +0200)
commit0d634f6e5b0d1d6e2b044b23d448ab5fb7c102e5
treecd0be8a1265fc080a5351c1a9a63220ea5769019
parentc39aa6a1e32aab4826c613866024cbdd4933631a
drm/ast: use container_of to resolve ast_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/ast/ast_fb.c