dmaengine: xilinx: Simplify with dev_err_probe()
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 28 Aug 2020 15:26:37 +0000 (17:26 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 07:08:59 +0000 (12:38 +0530)
commitb0ef489e2a9cfcb64e4a20f308023afaea9db8d3
tree11898547be5cf331d5b9b0b6e5b7b4b38bef7d28
parent1c966e1d948ba1abf646966ff5f0e57634ae70b7
dmaengine: xilinx: Simplify with dev_err_probe()

Common pattern of handling deferred probe can be simplified with
dev_err_probe().  Less code and the error value gets printed.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200828152637.16903-3-krzk@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c