]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: panel: Set return value explicitly
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tue, 2 Sep 2014 12:51:21 +0000 (09:51 -0300)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 00:55:19 +0000 (10:55 +1000)
commit65441b01a204f9180b1abba775267e726e13b331
treea9a8bbdf466ac6394dc603eace7a069145460dc9
parent3ec0fd0abef27946482e45cf464d1db3627ad5c0
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 <detheridge@ti.com>
Tested-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/tilcdc/tilcdc_panel.c