drm/i915: Spell vga_switcheroo consistently
authorLukas Wunner <lukas@wunner.de>
Fri, 4 Sep 2015 19:06:15 +0000 (21:06 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Sep 2015 15:10:52 +0000 (17:10 +0200)
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: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_acpi.c
drivers/gpu/drm/i915/intel_panel.c

index d96eee1ae9c560bb1559c5e911e2a84ced425051..8b13b9d0373a6ca3a33f5ff27944af34baf63487 100644 (file)
@@ -146,7 +146,7 @@ static bool intel_dsm_detect(void)
 
        if (vga_count == 2 && has_dsm) {
                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);
                return true;
        }
index 2034438a06646bf6987b48cfca52bd5a87892cb0..2c11b4eedfc67355706e0556e58df79e8424a71d 100644 (file)
@@ -821,7 +821,7 @@ void intel_panel_disable_backlight(struct intel_connector *connector)
                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
         * backlight. This will leave the backlight on unnecessarily when
         * another client is not activated.