projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5115841
)
gpio: of: Fix bogus reference to gpiod_get_count()
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Wed, 20 Nov 2019 15:45:21 +0000
(16:45 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 22 Nov 2019 12:55:16 +0000
(13:55 +0100)
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>
Link:
https://lore.kernel.org/r/20191120154521.16273-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpiolib-of.c
b/drivers/gpio/gpiolib-of.c
index
bd06743
..
dc27b1a
100644
(file)
--- 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)
{