diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-11 19:59:13 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-09-02 11:49:56 +0530 |
commit | 68a7faa2006c022468adec11549b8b5e0a0f284a (patch) | |
tree | 2e9a5aa59ff459d0372870ccbf74ee4b633201ea /drivers/dma/coh901318.c | |
parent | 39ff86130a36cb5779102832dec39abecebfc316 (diff) |
dmaengine: PL08x: Refactor pl08x_getbytes_chan() to lower indentation
Further patch will introduce support for PL080S, which requires some
things to be done conditionally, thus increasing indentation level of
some functions even more.
This patch reduces indentation level of pl08x_getbytes_chan() function
by inverting several conditions and returning from function wherever
possible.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/coh901318.c')
0 files changed, 0 insertions, 0 deletions