Skip to content
Unverified Commit 246f74bb authored by Zhang Zekun's avatar Zhang Zekun Committed by Mark Brown
Browse files

spi: bcm-qspi: Simplify logic by using devm_platform_ioremap_resource_byname()



platform_get_resource_byname() and devm_ioremap_resource() can be
replaced by devm_platform_ioremap_resource_byname(), which can
simplify the code logic a bit, No functional change here.

Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20230810131650.71916-1-zhangzekun11@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ab472430
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