dmaengine: axi-dmac: wrap entire dt parse in a function
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 25 Aug 2020 15:19:48 +0000 (18:19 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Aug 2020 15:37:10 +0000 (21:07 +0530)
commit06b6e88c7ecf48e666bdd88615fa46155c8cb8f1
tree6194f33673237494cd3db1198b64c45ad606622a
parent08b36dba23e5b26a3f5dbeb5b0d8d7462ab38c12
dmaengine: axi-dmac: wrap entire dt parse in a function

All these attributes will be read from registers in newer core versions, so
just wrap the logic into a function.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20200825151950.57605-5-alexandru.ardelean@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c