Re: (subset) [PATCH v1 1/1] leds: class: Make led_remove_lookup() NULL-aware

From: Lee Jones

Date: Thu Apr 09 2026 - 08:53:42 EST


On Fri, 27 Mar 2026 11:27:29 +0100, Andy Shevchenko wrote:
> It is a usual pattern in the kernel to make releasing functions be NULL-aware
> so they become a no-op. This helps reducing unneeded checks in the code where
> the given resource is optional.

Applied, thanks!

[1/1] leds: class: Make led_remove_lookup() NULL-aware
commit: 7a43ccf85dfe06eef483c034e68b81ff326741aa

--
Lee Jones [李琼斯]