radeon_display: Use pointer return error codes
authorxueminsu <xuemin.su@intel.com>
Tue, 22 Jan 2013 14:16:53 +0000 (22:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Jan 2013 18:51:44 +0000 (13:51 -0500)
commitb2f4b03f8a378cd626d2ea67d19e7470c050a098
treef3b5ec01a06a515a5a4403b667c513b8a7b21423
parente521a29014794d139cca46396d1af8faf1295a26
radeon_display: Use pointer return error codes

drm_mode_addfb() expects fb_create return error code
instead of NULL.

Signed-off-by: xueminsu <xuemin.su@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_display.c