drm/nouveau: use container_of to resolve nouveau_fbdev from drm_fb_helper
authorFabian Frederick <fabf@skynet.be>
Sun, 14 Sep 2014 16:40:17 +0000 (18:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 10:09:25 +0000 (12:09 +0200)
commit918b7ed423ab7c423efe0e71f7670ff9139d3ee0
tree81777bb4821279786fa6d60e96b5533e02b8019b
parenta1d0280e678c4d0074bd994ac53d95d39be9383c
drm/nouveau: use container_of to resolve nouveau_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/nouveau/nouveau_fbcon.c