From: Bartosz Golaszewski Date: Wed, 27 Sep 2023 14:29:31 +0000 (+0200) Subject: gpio: sysfs: drop the mention of gpiochip_find() from sysfs code X-Git-Tag: io_uring-6.7-2023-11-10~74^2~19 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e404b0cc9f0b0b551f3276a814d38abf1f26d98f;p=linux-2.6-block.git gpio: sysfs: drop the mention of gpiochip_find() from sysfs code We have removed all callers of gpiochip_find() so don't mention it in gpiolib-sysfs.c. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c index 50503a4525eb..6f309a3b2d9a 100644 --- a/drivers/gpio/gpiolib-sysfs.c +++ b/drivers/gpio/gpiolib-sysfs.c @@ -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. */