aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2015-09-05 05:14:43 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-10-02 16:08:24 -0400
commit8e5de1d8c34c63331f12cf7bf7bbf115bba0317a (patch)
tree43a7f7f2f9244f6f0d4b21cd0ec15a21106ab10b /drivers
parentd4070ff71363a2b6598633f23558f809600ebad2 (diff)
drm/radeon: 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: Lukas Wunner <lukas@wunner.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon_atpx_handler.c2
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c2
-rw-r--r--drivers/gpu/drm/radeon/radeon_kms.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
index 8bc7d0bbd3c8..a771b9f0bf98 100644
--- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
+++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@ -535,7 +535,7 @@ static bool radeon_atpx_detect(void)
535 535
536 if (has_atpx && vga_count == 2) { 536 if (has_atpx && vga_count == 2) {
537 acpi_get_name(radeon_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer); 537 acpi_get_name(radeon_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer);
538 printk(KERN_INFO "VGA switcheroo: detected switching method %s handle\n", 538 printk(KERN_INFO "vga_switcheroo: detected switching method %s handle\n",
539 acpi_method_name); 539 acpi_method_name);
540 radeon_atpx_priv.atpx_detected = true; 540 radeon_atpx_priv.atpx_detected = true;
541 return true; 541 return true;
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index f3f562f6d848..c566993a2ec3 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1197,7 +1197,7 @@ static void radeon_check_arguments(struct radeon_device *rdev)
1197 * radeon_switcheroo_set_state - set switcheroo state 1197 * radeon_switcheroo_set_state - set switcheroo state
1198 * 1198 *
1199 * @pdev: pci dev pointer 1199 * @pdev: pci dev pointer
1200 * @state: vga switcheroo state 1200 * @state: vga_switcheroo state
1201 * 1201 *
1202 * Callback for the switcheroo driver. Suspends or resumes the 1202 * Callback for the switcheroo driver. Suspends or resumes the
1203 * the asics before or after it is powered up using ACPI methods. 1203 * the asics before or after it is powered up using ACPI methods.
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
index fd9da282b29c..977f1a5e11a5 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -602,7 +602,7 @@ static int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file
602 * 602 *
603 * @dev: drm dev pointer 603 * @dev: drm dev pointer
604 * 604 *
605 * Switch vga switcheroo state after last close (all asics). 605 * Switch vga_switcheroo state after last close (all asics).
606 */ 606 */
607void radeon_driver_lastclose_kms(struct drm_device *dev) 607void radeon_driver_lastclose_kms(struct drm_device *dev)
608{ 608{