Skip to content
Commit cedf8a78 authored by Bruno Prémont's avatar Bruno Prémont Committed by Greg Kroah-Hartman
Browse files

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: default avatarBruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 124d2553
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment