]> git.baikalelectronics.ru Git - kernel.git/commit
gpio/rockchip: use struct rockchip_gpio_regs for gpio controller
authorJianqun Xu <jay.xu@rock-chips.com>
Mon, 16 Aug 2021 01:21:11 +0000 (09:21 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Aug 2021 23:01:49 +0000 (01:01 +0200)
commita74b40b5f61f8df4bdd63ef78ad5b435b2aec01b
treefee7f997dfe059658b195d2e3f86b82e0138edbe
parentfbb7f85e04bf614ed90e8b4bc81a1292d5a94407
gpio/rockchip: use struct rockchip_gpio_regs for gpio controller

Store register offsets in the struct rockchip_gpio_regs, this patch
prepare for the driver update for new gpio controller.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Link: https://lore.kernel.org/r/20210816012111.1119125-1-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rockchip.c
drivers/pinctrl/pinctrl-rockchip.h