]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/ast: Use new drm_fb_helper functions
authorArchit Taneja <architt@codeaurora.org>
Wed, 22 Jul 2015 09:28:05 +0000 (14:58 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Aug 2015 12:12:57 +0000 (14:12 +0200)
commit990e8440f2f8b9428125a32805c67ab22e78a7d9
tree4aa43207d7172839374544c10b6206c553847f79
parente8b70e4dd7b5dad7c2379de6e0851587bf86bfd6
drm/ast: 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.

Cleaned up the error handling in astfb_create a bit.

v2:
- removed unused variable 'device' in astfb_create

Cc: David Airlie <airlied@linux.ie>
Cc: "Y.C. Chen" <yc_chen@aspeedtech.com>
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/ast/ast_fb.c