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: v6.6.14~254 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4147d76f988ac9105ca5ba5fca860fe50d4a7349;p=platform%2Fkernel%2Flinux-starfive.git gpio: sysfs: drop the mention of gpiochip_find() from sysfs code [ Upstream commit e404b0cc9f0b0b551f3276a814d38abf1f26d98f ] 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 Stable-dep-of: 48e1b4d369cf ("gpiolib: remove the GPIO device from the list when it's unregistered") Signed-off-by: Sasha Levin --- diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c index c7c5c19..12d8538 100644 --- a/drivers/gpio/gpiolib-sysfs.c +++ b/drivers/gpio/gpiolib-sysfs.c @@ -817,7 +817,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. */