radeon_display: Use pointer return error codes
authorxueminsu <xuemin.su@intel.com>
Tue, 22 Jan 2013 14:16:53 +0000 (22:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:24:40 +0000 (18:24 -0600)
commit592306fd6bde5d73b2586ab163b4c78953d182ac
treeab71835ae43111917ee691dfa2ce04d2bab0a9a8
parentd4ffc500fcf28db4bc6e358e318b37bb884e421b
radeon_display: Use pointer return error codes

commit b2f4b03f8a378cd626d2ea67d19e7470c050a098 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_display.c