realtek: use automatic GPIO numbering for RTL8231
authorSander Vanheule <sander@svanheule.net>
Sat, 20 Nov 2021 19:11:32 +0000 (20:11 +0100)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 17 Feb 2022 17:11:33 +0000 (19:11 +0200)
commit5da2e0cc20b4ef1bf91ec17d726e8cf9a322940e
treea071a1d70755c7dbc1eb80087bdeb4816d800db2
parent851212a71454735ebabf401d07845a642700e11e
realtek: use automatic GPIO numbering for RTL8231

Set the gpio_chip.base to -1 to use automatic GPIO line indexing.
Setting base to 0 or a positive number is deprecated and should not be
used.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-5.10/drivers/gpio/gpio-rtl8231.c