diff options
author | 2021-09-01 15:42:59 +0800 | |
---|---|---|
committer | 2021-10-15 11:56:44 +0300 | |
commit | a10ed4c42533362a825be2adb2e5272d3644553e (patch) | |
tree | 86ba28d9e116c046059616439397579c8a97aa60 /drivers/fpga/fpga-mgr.c | |
parent | mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare() (diff) | |
download | linux-dev-a10ed4c42533362a825be2adb2e5272d3644553e.tar.xz linux-dev-a10ed4c42533362a825be2adb2e5272d3644553e.zip |
mtd: spi-nor: hisi-sfc: Make use of the helper function devm_platform_ioremap_resource_byname()
Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20210901074259.9683-1-caihuoqing@baidu.com
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions