* [PATCH] gpio: of: Fix bogus reference to gpiod_get_count()
@ 2019-11-20 15:45 Geert Uytterhoeven
2019-11-22 12:55 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2019-11-20 15:45 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Geert Uytterhoeven
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 <geert+renesas@glider.be>
---
drivers/gpio/gpiolib-of.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c
index bd06743a5d7cd2cc..dc27b1a88e9343a8 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 <linux/of_gpio.h>
*
* 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)
{
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: of: Fix bogus reference to gpiod_get_count()
2019-11-20 15:45 [PATCH] gpio: of: Fix bogus reference to gpiod_get_count() Geert Uytterhoeven
@ 2019-11-22 12:55 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2019-11-22 12:55 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Bartosz Golaszewski, open list:GPIO SUBSYSTEM, linux-kernel
On Wed, Nov 20, 2019 at 4:45 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> 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 <geert+renesas@glider.be>
Patch applied!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-22 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 15:45 [PATCH] gpio: of: Fix bogus reference to gpiod_get_count() Geert Uytterhoeven
2019-11-22 12:55 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).