]> git.ipfire.org Git - thirdparty/linux.git/commit
gpu: host1x: mipi: Use devm_platform_get_and_ioremap_resource()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 8 Feb 2023 07:41:56 +0000 (15:41 +0800)
committerThierry Reding <treding@nvidia.com>
Tue, 4 Apr 2023 12:24:24 +0000 (14:24 +0200)
commit791b5ecece5e6c22aa9aa55b7a9ee827a971a799
treefa26af94ea821a8ce31401d64aad014c72374db8
parentc1aaee94380874fd40f7bb8417c597aba3f72c75
gpu: host1x: mipi: Use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/mipi.c