]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
dmaengine: stm32-dmamux: Remove unnecessary platform_get_resource() error check
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 17 Jan 2018 11:27:10 +0000 (11:27 +0000)
committerVinod Koul <vinod.koul@intel.com>
Fri, 19 Jan 2018 05:37:50 +0000 (11:07 +0530)
commit2cbe23f8fc88587cc4cc10c0d6d938ccb65ec033
treebf0eff137448e29d962173771214632cc71485f4
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
dmaengine: stm32-dmamux: Remove unnecessary platform_get_resource() error check

devm_ioremap_resource() already checks if the resource is NULL, so
remove the unnecessary platform_get_resource() error check.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/stm32-dmamux.c