dmaengine: qcom_hidma: Simplify error handling path in hidma_probe
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 27 Apr 2020 11:10:43 +0000 (13:10 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Apr 2020 16:08:29 +0000 (21:38 +0530)
commit920c5974f0d3aff91b5751e7568b54752fb5d6da
tree1041f04768e249e8f8e6e719fe60b3e89e46378b
parentc0fca736098cbd5dce27640e625b20c67d5f99f1
dmaengine: qcom_hidma: Simplify error handling path in hidma_probe

There is no need to call 'hidma_debug_uninit()' in the error handling
path. 'hidma_debug_init()' has not been called yet.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200427111043.70218-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/hidma.c