pinctrl: berlin: bg4ct: Use devm_platform_*ioremap_resource() APIs
authorzhaoxiao <zhaoxiao@uniontech.com>
Fri, 20 May 2022 05:20:21 +0000 (13:20 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 22 May 2022 20:45:47 +0000 (22:45 +0200)
commit80a504669c93b3c25e8f705d876bf9fd92ddab47
tree1e0e525efad316a2aaff6c72e78ac9f48607b5fc
parent933adebbbd2f3160451b55f915133cd4d1c4d8fd
pinctrl: berlin: bg4ct: Use devm_platform_*ioremap_resource() APIs

Use devm_platform_get_and_ioremap_resource() and
devm_platform_ioremap_resource() APIs instead of their
open coded analogues.

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Link: https://lore.kernel.org/r/20220520052021.25631-1-zhaoxiao@uniontech.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/berlin/berlin-bg4ct.c