tty: xuartps: Cleanup: Reformat if-else
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 12 Jan 2016 01:41:38 +0000 (17:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:52:23 +0000 (22:52 -0800)
commit354fb1a7d7e54a79d042f0a92dbd484bd3e900e6
tree51ccb8121abf1aadd8246cb08b735663ffdf78cc
parent373e882f9ecfb383fcd3d8878b2eb20e17d45792
tty: xuartps: Cleanup: Reformat if-else

Convert an if-else into the more common early return on error, reducing
the indent level of the happy path.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c