linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: gpiolib: Use sysfs_emit() and improve sysfs handling
@ 2025-02-19 16:07 Suraj Patil
  0 siblings, 0 replies; only message in thread
From: Suraj Patil @ 2025-02-19 16:07 UTC (permalink / raw)
  To: linux-gpio; +Cc: Suraj Patil

Signed-off-by: Suraj Patil <surajpatil522@gmail.com>
---
 drivers/gpio/gpiolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-19 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-19 16:07 [PATCH] gpio: gpiolib: Use sysfs_emit() and improve sysfs handling Suraj Patil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).