mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
apple-gmux: Port to new backlight interface selection API
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
9a65f0df63
commit
86ac056a30
1 changed files with 1 additions and 2 deletions
|
@ -550,8 +550,7 @@ static int gmux_probe(struct pnp_dev *pnp, const struct pnp_device_id *id)
|
||||||
* backlight control and supports more levels than other options.
|
* backlight control and supports more levels than other options.
|
||||||
* Disable the other backlight choices.
|
* Disable the other backlight choices.
|
||||||
*/
|
*/
|
||||||
acpi_video_dmi_promote_vendor();
|
acpi_video_set_dmi_backlight_type(acpi_backlight_vendor);
|
||||||
acpi_video_unregister_backlight();
|
|
||||||
apple_bl_unregister();
|
apple_bl_unregister();
|
||||||
|
|
||||||
gmux_data->power_state = VGA_SWITCHEROO_ON;
|
gmux_data->power_state = VGA_SWITCHEROO_ON;
|
||||||
|
|
Loading…
Add table
Reference in a new issue