backlight: panasonic-laptop - Fix incomplete registration failure handling
authorBruno Prémont <bonbons@linux-vserver.org>
Fri, 26 Feb 2010 12:20:10 +0000 (13:20 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 16 Mar 2010 20:13:31 +0000 (20:13 +0000)
commitec57af9c2ece22ae6234189972105d777ff5f939
tree73979ad29548c133273a3130d6d10aa25591d5be
parent28d85873cd6d8d3176e30e02b941b1329df1024c
backlight: panasonic-laptop - Fix incomplete registration failure handling

Properly return backlight registration error to parent.
Mark struct backlight_ops as const.

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Acked-by: Harald Welte <laforge@gnumonks.org> (registration failure)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/platform/x86/panasonic-laptop.c