]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: rockchip: convert to dynamic GPIO base allocation
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 30 Mar 2026 09:53:21 +0000 (17:53 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Tue, 7 Apr 2026 10:32:28 +0000 (12:32 +0200)
commitc8079f83e0bf312645050c17d9c87deb707369c1
tree20a5bc27f33cf1971c9c15582577f47d54c7fb25
parentdd84f7ce6fd12fb5d6648d6b5d8ea4bf6f834273
gpio: rockchip: convert to dynamic GPIO base allocation

This driver is used on device tree based platform. Use dynamic
GPIO numberspace base to suppress the warning:

gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/1774864401-177149-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-rockchip.c