From: Axel Lin Date: Tue, 26 Jul 2011 00:12:01 +0000 (-0700) Subject: backlight: set backlight type and max_brightness before backlights are registered X-Git-Tag: v3.1-rc1~241^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef22f6a70c9186c8e25f757b0e8f7374b37f69bf;p=pandora-kernel.git backlight: set backlight type and max_brightness before backlights are registered Since commit a19a6ee "backlight: Allow properties to be passed at registration" and commit bb7ca74 "backlight: add backlight type", we can set backlight type and max_brightness before backlights are registered. Some newly added drivers did not set it properly, let's fix it. Signed-off-by: Axel Lin Cc: Matthew Garrett Cc: Jingoo Han Cc: Donghwa Lee Cc: InKi Dae Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed