diff options
author | Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> | 2019-09-26 16:20:59 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-10-15 15:41:46 +0530 |
commit | a8bd47542863947e2433db35558477caf0d89995 (patch) | |
tree | 00b7bc1eadd0085b15454a59dc9ad0f3b2a1fb19 /drivers/mux | |
parent | bc3ecbe09ab19f766699c056f3e7175bf7e96c64 (diff) | |
download | linux-a8bd47542863947e2433db35558477caf0d89995.tar.bz2 |
dmaengine: xilinx_dma: use devm_platform_ioremap_resource()
Replace the chain of platform_get_resource() and devm_ioremap_resource()
with devm_platform_ioremap_resource(). It simplifies the flow and there
is no functional change.
Fixes below cocinelle warning-
WARNING: Use devm_platform_ioremap_resource for xdev -> regs
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1569495060-18117-4-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/mux')
0 files changed, 0 insertions, 0 deletions