dmaengine: dw: Simplify DT property parser
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Aug 2021 18:43:55 +0000 (21:43 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 6 Aug 2021 13:48:59 +0000 (19:18 +0530)
commitd6ff82cc1bff97923dfa0640d27271bc220a5004
treee5b325e0e8aa84e32f385615944dcd4ea153b7e9
parent08bf54fcf5ca87328541e035090c6a85c8e064f4
dmaengine: dw: Simplify DT property parser

Since we converted internal data types to match DT, there is no need to have
an intermediate conversion layer, hence drop a few conditionals and for loops
for good.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20210802184355.49879-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/of.c