Skip to content
Commit a10ed4c4 authored by Cai Huoqing's avatar Cai Huoqing Committed by Tudor Ambarus
Browse files

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: default avatarCai Huoqing <caihuoqing@baidu.com>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: default avatarPratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20210901074259.9683-1-caihuoqing@baidu.com
parent 78e4d342
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment