drm/tilcdc: Fix hardcoded fail-return value in tilcdc_crtc_create()
authorJyri Sarha <jsarha@ti.com>
Tue, 31 Jan 2017 14:18:42 +0000 (16:18 +0200)
committerJyri Sarha <jsarha@ti.com>
Tue, 14 Mar 2017 12:28:56 +0000 (14:28 +0200)
commitabf8315f71dc5a2ee56fb60830dcb2861982dc91
treea42b9b1028d0afccb73438e8c042be134ba1633e
parent3f81e1340706e9a7f854808e2f580c3106805d0c
drm/tilcdc: Fix hardcoded fail-return value in tilcdc_crtc_create()

Fix badly hardcoded return return value under fail-label. All goto
branches to the label set the "ret"-variable accordingly.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c