aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-realtek-otto.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-07 22:39:47 -0700
committerBartosz Golaszewski <brgl@bgdev.pl>2022-09-15 10:36:08 +0200
commit984914ec4f4bfa9ee8f067b06293bc12bef20137 (patch)
treeb714ab468e114a59909b67190b088ce3d9a9798e /drivers/gpio/gpio-realtek-otto.c
parentgpiolib: of: do not ignore requested index when applying quirks (diff)
downloadlinux-dev-984914ec4f4bfa9ee8f067b06293bc12bef20137.tar.xz
linux-dev-984914ec4f4bfa9ee8f067b06293bc12bef20137.zip
gpiolib: of: make Freescale SPI quirk similar to all others
There is no need for of_find_spi_cs_gpio() to be different from other quirks: the only variant of property actually used in DTS is "gpios" (plural) so we can use of_get_named_gpiod_flags() instead of recursing into of_find_gpio() again. This will allow us consolidate quirk handling down the road. 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>
Diffstat (limited to 'drivers/gpio/gpio-realtek-otto.c')
0 files changed, 0 insertions, 0 deletions