fpga: fpga-mgr: socfpga: Convert to devm_platform_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Wed, 5 Jul 2023 09:46:53 +0000 (17:46 +0800)
committerXu Yilun <yilun.xu@intel.com>
Mon, 10 Jul 2023 08:48:04 +0000 (16:48 +0800)
commitc4c68d4697f7d5c304eb855c9594d7fa273dc943
tree444f364b78d9db1e3f3934f8b23d4e26e2a93d3b
parentebe00825f1a76f22aed365a79964e4f536eeb13a
fpga: fpga-mgr: socfpga: Convert to devm_platform_ioremap_resource()

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230705094655.44753-6-frank.li@vivo.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
drivers/fpga/socfpga.c