(subset) [PATCH] backlight: lm3509_bl: Fix NULL vs IS_ERR() check in register() function

Lee Jones lee at kernel.org
Thu Jun 13 16:48:02 UTC 2024


On Thu, 06 Jun 2024 16:10:23 +0300, Dan Carpenter wrote:
> The devm_backlight_device_register() doesn't return NULL, it returns
> error pointers.  Update the error checking to match.
> 
> 

Applied, thanks!

[1/1] backlight: lm3509_bl: Fix NULL vs IS_ERR() check in register() function
      commit: 90b7f2ead953aab5677ae8235d78841cee8fd13e

--
Lee Jones [李琼斯]



More information about the dri-devel mailing list