From: Tomasz Figa Date: Sun, 11 Aug 2013 17:59:13 +0000 (+0200) Subject: dmaengine: PL08x: Refactor pl08x_getbytes_chan() to lower indentation X-Git-Tag: v3.12-rc1~68^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a7faa2006c022468adec11549b8b5e0a0f284a;p=pandora-kernel.git 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 Reviewed-by: Linus Walleij Signed-off-by: Vinod Koul --- Reading git-diff-tree failed