Skip to content
Snippets Groups Projects
Commit a19a6ee6 authored by Matthew Garrett's avatar Matthew Garrett Committed by Richard Purdie
Browse files

backlight: Allow properties to be passed at registration


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: default avatarMatthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent 57e148b6
Loading
Showing
with 123 additions and 72 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment