提交 86ac056a 编写于 作者: H Hans de Goede 提交者: Rafael J. Wysocki

apple-gmux: Port to new backlight interface selection API

Port the backlight selection logic to the new backlight interface
selection API.
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Acked-by: NDarren Hart <dvhart@linux.intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 9a65f0df
...@@ -550,8 +550,7 @@ static int gmux_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册