summaryrefslogtreecommitdiff
path: root/drivers/video/fb_sys_fops.c
diff options
context:
space:
mode:
authorBruno Prémont <bonbons@linux-vserver.org>2010-02-26 15:04:54 +0300
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-16 23:10:17 +0300
commitfa11de0a33e214a00e205494c27fb5a7bb71a5fa (patch)
treebed4af34b31f9e782159f3c2c17fe13817df52a9 /drivers/video/fb_sys_fops.c
parentf0af78991363d704694a3618b638662c97d8a110 (diff)
downloadlinux-fa11de0a33e214a00e205494c27fb5a7bb71a5fa.tar.xz
backlight: blackfin - Fix missing registration failure handling
Check newly registered backlight_device for error and properly return error to parent Mark struct backlight_ops as const. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Acked-by: Mike Frysinger <vapier@gentoo.org> (constify struct backlight_ops) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video/fb_sys_fops.c')
0 files changed, 0 insertions, 0 deletions