drm/gma500: use container_of to resolve psb_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:20 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:27 +0000 (12:09 +0200)
commitc39aa6a1e32aab4826c613866024cbdd4933631a
tree2abd342e99f5a718f02e02eefe019aa301ab8acf
parentf38e34ac54569756963827434d4b18b9ad9d8b95
drm/gma500: use container_of to resolve psb_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/gma500/framebuffer.c