drm/tilcdc: panel: Set return value explicitly
authorEzequiel Garcia <[email protected]>
Tue, 2 Sep 2014 12:51:21 +0000 (09:51 -0300)
committerDave Airlie <[email protected]>
Wed, 17 Sep 2014 00:55:19 +0000 (10:55 +1000)
commit12778fc14301cf24d79cd89b0129874c319d0a38
treea9a8bbdf466ac6394dc603eace7a069145460dc9
parent18c44db8cafe9bda4fcb51bfc05c1f1d7cefc44c
drm/tilcdc: panel: Set return value explicitly

Instead of setting an initial value for the return code, set it explicitly
on each error path. This is just a cosmetic cleanup, as preparation for the
enable GPIO support.

Tested-by: Darren Etheridge <[email protected]>
Tested-by: Johannes Pointner <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/tilcdc/tilcdc_panel.c