public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] leds: class: improve led_remove_lookup()
@ 2026-03-31 18:28 Andy Shevchenko
  2026-03-31 18:28 ` [PATCH v2 1/2] leds: class: Make led_remove_lookup() NULL-aware Andy Shevchenko
  2026-03-31 18:28 ` [PATCH v2 2/2] leds: class: Reinitialise list after dropping from lookup table Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2026-03-31 18:28 UTC (permalink / raw)
  To: linux-leds, linux-kernel; +Cc: Lee Jones, Pavel Machek, Andy Shevchenko

This mini-series targets led_remove_lookup() to be more handy for
the optional resources. The first patch makes it no-op for NULL
pointer and the second one makes it idempotent.

Changelog v2:
- added patch 2

v1: 20260327102729.797254-1-andriy.shevchenko@linux.intel.com

Andy Shevchenko (2):
  leds: class: Make led_remove_lookup() NULL-aware
  leds: class: Reinitialise list after dropping from lookup table

 drivers/leds/led-class.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.50.1


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

end of thread, other threads:[~2026-04-09 16:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 18:28 [PATCH v2 0/2] leds: class: improve led_remove_lookup() Andy Shevchenko
2026-03-31 18:28 ` [PATCH v2 1/2] leds: class: Make led_remove_lookup() NULL-aware Andy Shevchenko
2026-03-31 18:28 ` [PATCH v2 2/2] leds: class: Reinitialise list after dropping from lookup table Andy Shevchenko
2026-04-09 15:52   ` Lee Jones
2026-04-09 16:00     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox