backlight: Allow properties to be passed at registration
authorMatthew Garrett <mjg@redhat.com>
Wed, 17 Feb 2010 21:39:44 +0000 (16:39 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 16 Mar 2010 19:47:54 +0000 (19:47 +0000)
Values such as max_brightness should be set before backlights are
registered, but the current API doesn't allow that. Add a parameter to
backlight_device_register and update drivers to ensure that they
set this correctly.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>

No differences found