diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2023-08-10 16:16:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-21 15:10:56 +0300 |
commit | 246f74bb11e7df33946443a21c03463937867a09 (patch) | |
tree | 03d72c3ef8e9a6c75e6ffb73cba2c768bdc8364e /drivers/spi/spi-rzv2m-csi.c | |
parent | ab4724302feedcd33633fd409667a8ee0016f13d (diff) | |
download | linux-246f74bb11e7df33946443a21c03463937867a09.tar.xz |
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: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20230810131650.71916-1-zhangzekun11@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-rzv2m-csi.c')
0 files changed, 0 insertions, 0 deletions