drm/fb-helper: streamline drm_fb_helper_single_fb_probe
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Jan 2013 22:38:37 +0000 (23:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Feb 2013 23:07:57 +0000 (00:07 +0100)
commit8acf658ad6246be7913647e6e76da6a539bff425
treeaedf43f2c990f6772fcf43581a8df6383870a721
parent2180c3c7e76536ce8ff0fd957a11dbfaa1e93403
drm/fb-helper: streamline drm_fb_helper_single_fb_probe

No need to check whether we've allocated a new fb since we're not
always doing that. Also, we always need to register the fbdev and add
it to the panic notifier.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_helper.c