[PATCH] leds: tests: clarify name conflict test

From: Lorenzo Egidio

Date: Tue Jun 09 2026 - 13:38:13 EST


Hi

I noticed that theLED_REJECT_NAME_CONFLICT test in the review of LED
KUnit tests re-registers an already registeredled_classdev instance.

This patch replaces the old led_classdev instance with a new one for
the conflictrejection test, so the test case clearly and explicitly
deals withname-conflict handling.

Besides it, struct led_lookup_data is cleared to zero.

Patch for your consideration is attached.

Best wishes

Lorenzo Egidio

Attachment: 0001-leds-tests-clarify-name-conflict-test.patch
Description: Binary data