dmaengine: PL08x: Move LLI dumping code into separate function
authorTomasz Figa <tomasz.figa@gmail.com>
Sun, 11 Aug 2013 17:59:16 +0000 (19:59 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 06:19:56 +0000 (11:49 +0530)
commit48924e4224540b249e56d82e58dee5bcaabfe52b
treea9dd22b524a869c934dd55d2a17b48ebfa9e5199
parentba6785ffc85bcf967b0646f4e8b9b13fdbad3254
dmaengine: PL08x: Move LLI dumping code into separate function

This patch refactors debugging code that dumps LLI entries by moving it
into separate function, which is stubbed when VERBOSE_DEBUG is not
selected. This allows us to get rid of the ugly ifdef from the body of
pl08x_fill_llis_for_desc().

No functional change is introduced by this patch.

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>
drivers/dma/amba-pl08x.c