drm/radeon: use container_of to resolve radeon_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:16 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:25 +0000 (12:09 +0200)
commita1d0280e678c4d0074bd994ac53d95d39be9383c
tree809895604d2fded5ffb055e64f34034a2a797bcb
parent98cc0343178558579aacb7b27dc5aee2791c8263
drm/radeon: use container_of to resolve radeon_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/radeon/radeon_fb.c