diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-16 16:27:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-19 01:11:25 +0200 |
commit | 86ac056a30ef6af933c33f096c8275dc4977244c (patch) | |
tree | 6b4546678d5850aeac6a6a217a280aa64370050e /drivers/platform | |
parent | 9a65f0df6392a02c08637e01860f3263f60736d3 (diff) | |
download | op-kernel-dev-86ac056a30ef6af933c33f096c8275dc4977244c.zip op-kernel-dev-86ac056a30ef6af933c33f096c8275dc4977244c.tar.gz |
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/apple-gmux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index a7f6412..0dec3f5 100644 --- a/drivers/platform/x86/apple-gmux.c +++ b/drivers/platform/x86/apple-gmux.c @@ -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. * Disable the other backlight choices. */ - acpi_video_dmi_promote_vendor(); - acpi_video_unregister_backlight(); + acpi_video_set_dmi_backlight_type(acpi_backlight_vendor); apple_bl_unregister(); gmux_data->power_state = VGA_SWITCHEROO_ON; |