diff options
author | Dan Carpenter <error27@gmail.com> | 2011-03-21 15:03:13 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 07:08:48 (GMT) |
commit | beee1f20a185c7e79fd33bb83e04fe44ecd75af3 (patch) | |
tree | f7c9972b12bbcde5f2de7306494a4ada042e94ad /drivers/video/aty/radeon_i2c.c | |
parent | e0998eab678233fae7dff7b92db08ad0f01acf91 (diff) | |
download | linux-fsl-qoriq-beee1f20a185c7e79fd33bb83e04fe44ecd75af3.tar.xz |
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/video/aty/radeon_i2c.c')
0 files changed, 0 insertions, 0 deletions