drm/mgag200: Use new drm_fb_helper functions
authorArchit Taneja <architt@codeaurora.org>
Fri, 31 Jul 2015 10:51:53 +0000 (16:21 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Aug 2015 12:13:04 +0000 (14:13 +0200)
commit4f72a6eaedf71f3d7729086ca34703b3615f59d0
tree5cfcebcd3cad2949f3661582d5e0549064f01080
parent231e6faf027ae5e86539bb5a3cdb2b22a96dae8c
drm/mgag200: Use new drm_fb_helper functions

Use the newly created wrapper drm_fb_helper functions instead of calling
core fbdev functions directly. They also simplify the fb_info creation.

v3:
- Don't touch remove_conflicting_framebuffers

v2:
- remove unused goto label 'out'

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/mgag200/mgag200_fb.c