Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpiolib: of: remove obsolete comment for of_gpio_get_count()

The function is only being called form the main gpiolib module, so
remove comment saying that it is also used by external callers.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Dmitry Torokhov and committed by
Bartosz Golaszewski
f9792ba0 c7835652

-6
-6
drivers/gpio/gpiolib-of.c
··· 76 76 return of_gpio_named_count(np, "gpios"); 77 77 } 78 78 79 - /* 80 - * This is used by external users of of_gpio_count() from <linux/of_gpio.h> 81 - * 82 - * FIXME: get rid of those external users by converting them to GPIO 83 - * descriptors and let them all use gpiod_count() 84 - */ 85 79 int of_gpio_get_count(struct device *dev, const char *con_id) 86 80 { 87 81 int ret;