staging: fbtft: fbtft_request_gpios: reduce nesting
authorMike Rapoport <mike.rapoport@gmail.com>
Thu, 3 Sep 2015 05:13:12 +0000 (08:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:35 +0000 (18:24 -0700)
commited20c6fbf76bdbc326960be621caebfdce92a2c6
treebe1af2bdb244aeea9b86ebf4cc533d88c9e55410
parentc18d116d9215d28736f6346f95127b53c7892376
staging: fbtft: fbtft_request_gpios: reduce nesting

Returning immediately if no platform_data or platform_data->gpios is
specified reduceis code nesting

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c