aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/msi-wmi.c
diff options
context:
space:
mode:
authorBruno Prémont2010-02-26 13:04:54 +0100
committerRichard Purdie2010-03-16 20:10:17 +0000
commitfa11de0a33e214a00e205494c27fb5a7bb71a5fa (patch)
treebed4af34b31f9e782159f3c2c17fe13817df52a9 /drivers/platform/x86/msi-wmi.c
parentf0af78991363d704694a3618b638662c97d8a110 (diff)
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/platform/x86/msi-wmi.c')
0 files changed, 0 insertions, 0 deletions