Skip to content

Commit 808b993

Browse files
geertulinusw
authored andcommitted
gpio: of: Fix bogus reference to gpiod_get_count()
The recommended function is called gpiod_count(), not gpiod_get_count(). Fixes: f626d6d ("gpio: of: Break out OF-only code") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 5115841 commit 808b993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib-of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* This is used by external users of of_gpio_count() from <linux/of_gpio.h>
2828
*
2929
* FIXME: get rid of those external users by converting them to GPIO
30-
* descriptors and let them all use gpiod_get_count()
30+
* descriptors and let them all use gpiod_count()
3131
*/
3232
int of_gpio_get_count(struct device *dev, const char *con_id)
3333
{

0 commit comments

Comments
 (0)