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: NBruno Prémont <bonbons@linux-vserver.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录