aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-sysfs.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-09-27 14:29:31 +0000
committerBartosz Golaszewski <[email protected]>2023-10-04 11:36:23 +0000
commite404b0cc9f0b0b551f3276a814d38abf1f26d98f (patch)
treef58e16d3b8cff452daea8781c96057b536783d3f /drivers/gpio/gpiolib-sysfs.c
parentgpio: swnode: replace gpiochip_find() with gpio_device_find_by_label() (diff)
downloadkernel-e404b0cc9f0b0b551f3276a814d38abf1f26d98f.tar.gz
kernel-e404b0cc9f0b0b551f3276a814d38abf1f26d98f.zip
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]>
Diffstat (limited to 'drivers/gpio/gpiolib-sysfs.c')
-rw-r--r--drivers/gpio/gpiolib-sysfs.c2
1 files changed, 1 insertions, 1 deletions
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.
*/