Skip to content
Commit fff09fe1 authored by Richard Hughes's avatar Richard Hughes
Browse files

power: Use the kernel-supplied backlight type rather than a whitelist

For a long time we have shipped a whitelist that mixes a list of devices we
should use, and the order we should attempt to do them. Since kernel 2.6.37 we
have a 'type' attribute which specifies if the device is a firmware device,
platform or raw device. According to mjg59, we should attempt to connect to
devices in this order only and nuke the whitelist.

This ensures the whitelist stays up to date as new backlight device names appear
upstream in the kernel.
parent 68baf8a8
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