Message ID | 20250219160742.162054-1-surajpatil522@gmail.com |
---|---|
State | New |
Headers | show |
Series | gpio: gpiolib: Use sysfs_emit() and improve sysfs handling | expand |
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index ca2f58a2cd45..caca5dcac6ac 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -1160,7 +1160,7 @@ void gpiochip_remove(struct gpio_chip *gc) { struct gpio_device *gdev = gc->gpiodev; - /* FIXME: should the legacy sysfs handling be moved to gpio_device? */ +/* sysfs handling has been improved with sysfs_emit() and should align with gpio_device */ gpiochip_sysfs_unregister(gdev); gpiochip_free_hogs(gc); gpiochip_free_remaining_irqs(gc);
Signed-off-by: Suraj Patil <surajpatil522@gmail.com> --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)