]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteporc: ingenic: Use devm_platform_ioremap_resource_byname()
authorZhang Zekun <zhangzekun11@huawei.com>
Fri, 6 Sep 2024 11:34:05 +0000 (19:34 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 9 Sep 2024 15:50:54 +0000 (09:50 -0600)
commit38a0e38b31d3f967525f6414711bed6f14dfa15e
treedd5113f053acb0db5d55cfa9053e2ad84c3e51df
parent2de346a45ebf41a67809598c45412c19a95ca4a4
remoteporc: ingenic: Use 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/20240906113405.92782-4-zhangzekun11@huawei.com
[Fixed patch title]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ingenic_rproc.c