gpiolib: of: do not ignore requested index when applying quirks
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Sep 2022 05:39:46 +0000 (22:39 -0700)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 15 Sep 2022 08:36:02 +0000 (10:36 +0200)
commit98c3c940ea5c3957056717e8b77a91c7d94536ad
treef0844f96188901e634c28420da8c89cc41b0be98
parentc95671a3e77ca6f1ed42e891d1fef2ef166a7fdc
gpiolib: of: do not ignore requested index when applying quirks

We should not ignore index passed into of_find_gpio() when handling
quirks. While in practice this change will not have any effect, it
will allow consolidate quirk handling.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib-of.c