pinctrl/rockchip: add error handling for pull/drive register getters
authorSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 22 Apr 2022 17:09:13 +0000 (19:09 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Apr 2022 22:54:15 +0000 (00:54 +0200)
commit42573ab3b9f94fbeba8b84e142703ea551624f6d
treefeeb73ff99afabc2f55a2a334fc0f171e236831d
parent71bc7cf3be65bab441e03667cf215c557712976c
pinctrl/rockchip: add error handling for pull/drive register getters

Add error handling for the pull and driver register getters in preparation
for RK3588 support.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Heiko Stübner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220422170920.401914-13-sebastian.reichel@collabora.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c
drivers/pinctrl/pinctrl-rockchip.h