spi: spi-fsl-dspi: Reduce indentation in dspi_release_dma()
authorVladimir Oltean <olteanv@gmail.com>
Sun, 18 Aug 2019 18:01:07 +0000 (21:01 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 20 Aug 2019 13:05:18 +0000 (14:05 +0100)
commitabbd0ef1f2542621e0f94a7273b7f7e458a38497
tree78fc5178ed39454d6e111d39356f73b00b762714
parent06d5dd29976fb49f3236b1e66142680619ea259d
spi: spi-fsl-dspi: Reduce indentation in dspi_release_dma()

There is no point in surrounding an entire function block in an if
condition. Rather, exit early if the condition is false.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20190818180115.31114-7-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c