drm/mgag200: use container_of to resolve mga_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:15 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:24 +0000 (12:09 +0200)
commit98cc0343178558579aacb7b27dc5aee2791c8263
tree2d0b73c8b36428fc2e534cfec3fe8715bfbe3349
parentea0622cfb4c0dbf3a8e6c4b448b8636ea75e1069
drm/mgag200: use container_of to resolve mga_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/mgag200/mgag200_fb.c