diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-12-19 11:20:14 -0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-01-30 15:55:28 +0100 |
commit | f9792ba054f86b9eee1fab017294554914837ab5 (patch) | |
tree | 4ef524d40928f8a7ba8dd9b3a91c21b3fd0620cf | |
parent | c7835652a85df183c967f574d1999505ebf80b88 (diff) | |
download | linux-f9792ba054f86b9eee1fab017294554914837ab5.tar.gz linux-f9792ba054f86b9eee1fab017294554914837ab5.tar.bz2 linux-f9792ba054f86b9eee1fab017294554914837ab5.zip |
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>
-rw-r--r-- | drivers/gpio/gpiolib-of.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index 6724e375678d..6114c5b3d2ce 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -76,12 +76,6 @@ static int of_gpio_spi_cs_get_count(struct device *dev, const char *con_id) return of_gpio_named_count(np, "gpios"); } -/* - * 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_count() - */ int of_gpio_get_count(struct device *dev, const char *con_id) { int ret; |