summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorBruno Prémont <bonbons@linux-vserver.org>2010-02-26 12:02:04 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 22:55:22 (GMT)
commitcedf8a78421943441b9011ce7bcdab55f07d2ea6 (patch)
treeaaa828c89672f782a596abf5bc23b35f936ec9f9 /drivers/char
parent124d255382ddd37ffa920e9f5183efa54bbfe4f2 (diff)
downloadlinux-cedf8a78421943441b9011ce7bcdab55f07d2ea6.tar.xz
USB: backlight, appledisplay: fix incomplete registration failure handling
On error while registering backlight, return it to caller instead of returning 0. Mark struct backlight_ops as const. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions