drm/omap: Use new drm_fb_helper functions
authorArchit Taneja <architt@codeaurora.org>
Fri, 31 Jul 2015 10:51:48 +0000 (16:21 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Aug 2015 12:13:03 +0000 (14:13 +0200)
commit231e6faf027ae5e86539bb5a3cdb2b22a96dae8c
treebde3cd574858224c7d101221deb56f54e99416eb
parent2b9e6e376af5171444a1cdcc134ed502e33d1fb2
drm/omap: 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:
- Update error handling for new drm_fb_helper funcs. Check using IS_ERR()
  instead of checking for NULL.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
v2:
- No changes

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/omapdrm/omap_fbdev.c