fbdev: clps711x-fb: Use devm_platform_get_and_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 8 Mar 2023 05:49:50 +0000 (13:49 +0800)
committerHelge Deller <deller@gmx.de>
Tue, 14 Mar 2023 17:49:39 +0000 (18:49 +0100)
commit7eb1220f4bde36a15b26e8f54480406c72081bfa
tree85c3e54749bd4ccaf90aa1d1be8ffde2df78ce90
parentf90bd245de82c095187d8c2cabb8b488a39eaecc
fbdev: clps711x-fb: Use devm_platform_get_and_ioremap_resource()

According to commit 890cc39a8799 ("drivers: provide
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: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/clps711x-fb.c