Skip to content
Unverified Commit a977c3a9 authored by Yang Yingliang's avatar Yang Yingliang Committed by Mark Brown
Browse files

spi: img-spfi: Use devm_platform_get_and_ioremap_resource()



Use the devm_platform_get_and_ioremap_resource() helper instead of calling
platform_get_resource() and devm_ioremap_resource() separately.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221019093318.1183190-1-yangyingliang@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3be6acda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment