Skip to content

Commit e404b0c

Browse files
author
Bartosz Golaszewski
committed
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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
1 parent b7b56e6 commit e404b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib-sysfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ static int __init gpiolib_sysfs_init(void)
814814
* gpiochip_sysfs_register() acquires a mutex. This is unsafe
815815
* and needs to be fixed.
816816
*
817-
* Also it would be nice to use gpiochip_find() here so we
817+
* Also it would be nice to use gpio_device_find() here so we
818818
* can keep gpio_chips local to gpiolib.c, but the yield of
819819
* gpio_lock prevents us from doing this.
820820
*/

0 commit comments

Comments
 (0)