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