diff options
author | Radhey Shyam Pandey <[email protected]> | 2019-09-26 16:20:59 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-10-15 15:41:46 +0530 |
commit | a8bd47542863947e2433db35558477caf0d89995 (patch) | |
tree | 00b7bc1eadd0085b15454a59dc9ad0f3b2a1fb19 /drivers/fpga/fpga-mgr.c | |
parent | bc3ecbe09ab19f766699c056f3e7175bf7e96c64 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions