[PATCH 2/3] leds: syscon: Remove the probe message

From: Carlo Szelinsky

Date: Sat Nov 28 2026 - 16:52:59 EST


The probe message prints cdev.name. Since the driver registers with
devm_led_classdev_register_ext(), it no longer sets cdev.name, so the
message says "registered LED (null)" for every LED.

The LED core prints a similar debug message for the same device after
it registers the LED, and with the previous patch it shows the right
name. Remove the message instead of fixing it.

Fixes: 006631969880 ("leds: syscon: use struct led_init_data when registering")
Signed-off-by: Carlo Szelinsky <github@xxxxxxxxxxxx>
---
drivers/leds/leds-syscon.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/leds/leds-syscon.c b/drivers/leds/leds-syscon.c
index 50603bb70b70..6f7b59631ce4 100644
--- a/drivers/leds/leds-syscon.c
+++ b/drivers/leds/leds-syscon.c
@@ -115,7 +115,6 @@ static int syscon_led_probe(struct platform_device *pdev)
return ret;

platform_set_drvdata(pdev, sled);
- dev_info(dev, "registered LED %s\n", sled->cdev.name);

return 0;
}
--
2.43.0