commit | f2b5d503c04a28828af8e41fcd4a5d9fd978a78e | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Fri May 01 12:08:24 2020 +0200 |
committer | Vinod Koul <vkoul@kernel.org> | Wed May 13 17:07:50 2020 +0530 |
tree | f3cde762bd5ac0cfd65f4cb057ee2dee3454c622 | |
parent | d24224dea57108f96d13579f20206c339bb8e52f [diff] |
dmaengine: sf-pdma: Simplify the error handling path in 'sf_pdma_probe()' There is no need to explicitly free memory that have been 'devm_kzalloc'ed. Simplify the probe function accordingly. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Tested-by: Green Wan <green.wan@sifive.com> Reviewed-by: Green Wan <green.wan@sifive.com> Link: https://lore.kernel.org/r/20200501100824.126534-1-christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul <vkoul@kernel.org>