Skip to content
Commit f215d600 authored by Qilong Zhang's avatar Qilong Zhang Committed by Sam Ravnborg
Browse files

omapfb: use devm_platform_ioremap_resource_byname



Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: default avatarQilong Zhang <zhangqilong3@huawei.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
[fixed warning - unused variable]
[fixed checkpatch warning - fixed indent]
Link: https://patchwork.freedesktop.org/patch/msgid/20200916111353.105914-1-zhangqilong3@huawei.com
parent 3da1781e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment