Skip to contentSkip to conversation

gpio: gpiolib: Use sysfs_emit() and improve sysfs handling

PATCH New Suraj Patil 1 participant 1 message Feb 19, 2025 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: gpiolib: Use sysfs_emit() and improve sysfs handling

---
 drivers/gpio/gpiolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpiolib.c +1 -1
index ca2f58a2cd45..caca5dcac6ac 100644
@@ -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);
Signature · 1 line
2.43.0