(subset) [PATCH 51/61] leds: Prefer IS_ERR_OR_NULL over manual NULL check

Lee Jones lee at kernel.org
Tue Mar 10 06:33:50 PDT 2026


On Tue, 10 Mar 2026 12:49:17 +0100, Philipp Hahn wrote:
> Prefer using IS_ERR_OR_NULL() over using IS_ERR() and a manual NULL
> check.
> 
> Change generated with coccinelle.
> 
> 

Applied, thanks!

[51/61] leds: Prefer IS_ERR_OR_NULL over manual NULL check
        commit: e68f95a51d1a8c1594b536c4d495cbea38d47561

--
Lee Jones [李琼斯]




More information about the Linux-rockchip mailing list