From: Geert Uytterhoeven Date: Wed, 20 Nov 2019 15:45:21 +0000 (+0100) Subject: gpio: of: Fix bogus reference to gpiod_get_count() X-Git-Tag: v5.5-rc1~94^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=808b9931d5a06760315c0dd02519da78cb944d8e;p=users%2Fjedix%2Flinux-maple.git gpio: of: Fix bogus reference to gpiod_get_count() The recommended function is called gpiod_count(), not gpiod_get_count(). Fixes: f626d6dfb7098525 ("gpio: of: Break out OF-only code") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20191120154521.16273-1-geert+renesas@glider.be Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index bd06743a5d7cd..dc27b1a88e934 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -27,7 +27,7 @@ * This is used by external users of of_gpio_count() from * * FIXME: get rid of those external users by converting them to GPIO - * descriptors and let them all use gpiod_get_count() + * descriptors and let them all use gpiod_count() */ int of_gpio_get_count(struct device *dev, const char *con_id) {