Commit 5389e916 authored by Lukas Wunner's avatar Lukas Wunner Committed by Daniel Vetter

drm/i915: Spell vga_switcheroo consistently

Currently everyone and their dog has their own favourite spelling
for vga_switcheroo. This makes it hard to grep dmesg for log entries
relating to vga_switcheroo. It also makes it hard to find related
source files in the tree.

vga_switcheroo.c uses pr_fmt "vga_switcheroo". Use that everywhere.
Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 0f8b8398
...@@ -146,7 +146,7 @@ static bool intel_dsm_detect(void) ...@@ -146,7 +146,7 @@ static bool intel_dsm_detect(void)
if (vga_count == 2 && has_dsm) { if (vga_count == 2 && has_dsm) {
acpi_get_name(intel_dsm_priv.dhandle, ACPI_FULL_PATHNAME, &buffer); acpi_get_name(intel_dsm_priv.dhandle, ACPI_FULL_PATHNAME, &buffer);
DRM_DEBUG_DRIVER("VGA switcheroo: detected DSM switching method %s handle\n", DRM_DEBUG_DRIVER("vga_switcheroo: detected DSM switching method %s handle\n",
acpi_method_name); acpi_method_name);
return true; return true;
} }
......
...@@ -821,7 +821,7 @@ void intel_panel_disable_backlight(struct intel_connector *connector) ...@@ -821,7 +821,7 @@ void intel_panel_disable_backlight(struct intel_connector *connector)
return; return;
/* /*
* Do not disable backlight on the vgaswitcheroo path. When switching * Do not disable backlight on the vga_switcheroo path. When switching
* away from i915, the other client may depend on i915 to handle the * away from i915, the other client may depend on i915 to handle the
* backlight. This will leave the backlight on unnecessarily when * backlight. This will leave the backlight on unnecessarily when
* another client is not activated. * another client is not activated.
......
Markdown is supported
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