drm: mxsfb: fix error return code in mxsfb_load()
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 5 Feb 2017 16:00:36 +0000 (16:00 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Feb 2017 15:57:36 +0000 (16:57 +0100)
commite6cf7e9808a42e74abd80f10e7c8ed4107e0d99f
treea75c02fa8195de35fe5fa0a8db397578ccd37b19
parent612fb5d9f41622ad86c94f897faa2343817abb1a
drm: mxsfb: fix error return code in mxsfb_load()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170205160036.7364-1-weiyj.lk@gmail.com
drivers/gpu/drm/mxsfb/mxsfb_drv.c