]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: st_slim: Use devm_platform_ioremap_resource_byname()
authorZhang Zekun <zhangzekun11@huawei.com>
Fri, 6 Sep 2024 11:34:03 +0000 (19:34 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 9 Sep 2024 15:50:31 +0000 (09:50 -0600)
commitb472e756ad53421528b632c37d0dc2fe058cd497
tree5a57019b7fce32a266074172eff129ceb3878584
parent77fcdf51b8ca5e89f1074902b860caa2418d72e6
remoteproc: st_slim: 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-2-zhangzekun11@huawei.com
[Fixed patch title]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/st_slim_rproc.c