dmaengine: zynqmp_dma: simplify with dev_err_probe
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 26 Aug 2021 09:47:36 +0000 (11:47 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 1 Oct 2021 11:56:30 +0000 (17:26 +0530)
commit5637abaab994a933d7f00c95bc1456c7a58c83f4
tree283990c62758f35e8a84e0094c8cb598b11048b4
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
dmaengine: zynqmp_dma: simplify with dev_err_probe

The clocks are provided by the ZynqMP firmware driver and are deferred
until the firmware driver has probed. This leads to misleading error
messages during probe of the zynqmp_dma driver.

Use dev_err_probe for printing errors during probe to avoid error
messages for -EPROBE_DEFER.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Link: https://lore.kernel.org/r/20210826094742.1302009-2-m.tretter@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/zynqmp_dma.c