Skip to content

leds: class: improve led_remove_lookup()

Andy Shevchenko linux-leds lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 1 replyApplied

Changes in v2 from the cover letter

- added patch 2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2leds: class: Make led_remove_lookup() NULL-awaredrivers/leds/led-class.c+3 -00 replies
2/2leds: class: Reinitialise list after dropping from lookup tabledrivers/leds/led-class.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] leds: class: improve led_remove_lookup()

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: [email protected]

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(-)
Signature · 1 line
2.50.1