drm/cirrus: use container_of to resolve cirrus_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:14 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:24 +0000 (12:09 +0200)
commitea0622cfb4c0dbf3a8e6c4b448b8636ea75e1069
tree9d4426cfc58b9171e1afcc99940fc05096dfb0aa
parent80c873b6b7b4de56d0771e3834ea71467937e506
drm/cirrus: use container_of to resolve cirrus_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/cirrus/cirrus_fbdev.c