gpio: sysfs: drop the mention of gpiochip_find() from sysfs code
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 27 Sep 2023 14:29:31 +0000 (16:29 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 4 Oct 2023 11:36:23 +0000 (13:36 +0200)
We have removed all callers of gpiochip_find() so don't mention it in
gpiolib-sysfs.c.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c

index 50503a4525eb03ce95325e5d9441b8efeca29515..6f309a3b2d9ade8a30e14e76a3b861c573302705 100644 (file)
@@ -814,7 +814,7 @@ static int __init gpiolib_sysfs_init(void)
                 * gpiochip_sysfs_register() acquires a mutex. This is unsafe
                 * and needs to be fixed.
                 *
-                * Also it would be nice to use gpiochip_find() here so we
+                * Also it would be nice to use gpio_device_find() here so we
                 * can keep gpio_chips local to gpiolib.c, but the yield of
                 * gpio_lock prevents us from doing this.
                 */