Skip to content
Snippets Groups Projects
Commit beee1f20 authored by Dan Carpenter's avatar Dan Carpenter Committed by Paul Mundt
Browse files

fbdev: sh_mobile_lcdc: checking NULL instead of IS_ERR()


backlight_device_register() returns an ERR_PTR.  It doesn't return NULL.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e0998eab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment