fpga: zynq-fpga: Convert to devm_platform_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Wed, 5 Jul 2023 09:46:55 +0000 (17:46 +0800)
committerXu Yilun <yilun.xu@intel.com>
Mon, 10 Jul 2023 08:55:06 +0000 (16:55 +0800)
commite9fdc41a3d66c7602b524a248d3b4ec7c430cb92
treed8e8b3ea4d98676b37570e42f3d085d8c45eaee6
parent533aae1695a4497275b7749344f0c372f766a94e
fpga: zynq-fpga: 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: Michal Simek <michal.simek@amd.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230705094655.44753-8-frank.li@vivo.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
drivers/fpga/zynq-fpga.c