All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] leds: KUnit registration tests pertaining to init_data
@ 2025-05-15  8:27 Lee Jones
  2025-05-15  8:28 ` [PATCH v2 1/5] leds: led-test: Move common LED class registration code into helper function Lee Jones
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Lee Jones @ 2025-05-15  8:27 UTC (permalink / raw)
  To: lee, Pavel Machek, linux-leds, linux-kernel
  Cc: bettyzhou, ynaffit, tkjos, jacek.anaszewski

Lots of drivers still register with the LED Class using init_data. Let's
provide some additional Kunit infrastructure to exercise the various
possibilities.

Change log:

v1 => v2:
 - Use devm_* to ensure resources are cleaned-up on exit

Lee Jones (5):
  leds: led-test: Move common LED class registration code into helper
    function
  leds: led-test: Provide test for registration with missing
    default_label
  leds: led-test: Provide test for registration with missing devicename
  leds: led-test: Provide test for registration with a name that is too
    long
  leds: led-test: Provide test for successful registration using
    init_data

 drivers/leds/led-test.c | 86 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 80 insertions(+), 6 deletions(-)

-- 
2.49.0.1101.gccaa498523-goog


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-05-21 21:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15  8:27 [PATCH v2 0/5] leds: KUnit registration tests pertaining to init_data Lee Jones
2025-05-15  8:28 ` [PATCH v2 1/5] leds: led-test: Move common LED class registration code into helper function Lee Jones
2025-05-15  8:28 ` [PATCH v2 2/5] leds: led-test: Provide test for registration with missing default_label Lee Jones
2025-05-15  8:28 ` [PATCH v2 3/5] leds: led-test: Provide test for registration with missing devicename Lee Jones
2025-05-15  8:28 ` [PATCH v2 4/5] leds: led-test: Provide test for registration with a name that is too long Lee Jones
2025-05-15  8:28 ` [PATCH v2 5/5] leds: led-test: Provide test for successful registration using init_data Lee Jones
2025-05-18 15:32 ` [PATCH v2 0/5] leds: KUnit registration tests pertaining to init_data Jacek Anaszewski
2025-05-19 13:33   ` Lee Jones
2025-05-21 21:26     ` Jacek Anaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.