diff options
author | Dan Carpenter <error27@gmail.com> | 2011-03-21 11:03:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 03:08:48 -0400 |
commit | beee1f20a185c7e79fd33bb83e04fe44ecd75af3 (patch) | |
tree | f7c9972b12bbcde5f2de7306494a4ada042e94ad /drivers/leds/ledtrig-default-on.c | |
parent | e0998eab678233fae7dff7b92db08ad0f01acf91 (diff) |
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: Dan Carpenter <error27@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/leds/ledtrig-default-on.c')
0 files changed, 0 insertions, 0 deletions