drm/bochs: Use new drm_fb_helper functions
authorArchit Taneja <architt@codeaurora.org>
Fri, 31 Jul 2015 10:51:59 +0000 (16:21 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Aug 2015 12:13:06 +0000 (14:13 +0200)
commit6a752972a33f7763453134a09ed8091bbeea55fc
treeec8a7d3b02381c81ff0523c9f546c65af32fe400
parentb166aeb99faa0b42f75ab4f48e98afa44d6a8958
drm/bochs: 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 variable device in bochsfb_create

Cc: David Airlie <airlied@linux.ie>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/bochs/bochs_drv.c
drivers/gpu/drm/bochs/bochs_fbdev.c