[PATCH 5.15 047/204] pinctrl/rockchip: add error handling for pull/drive register getters