diff options
| author | Lukas Wunner <lukas@wunner.de> | 2015-09-05 05:17:35 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-02 16:08:25 -0400 |
| commit | 1694467b96cadd1b166b3bd0365b2431a7685143 (patch) | |
| tree | 7f9c93fe7c2431eacb8037beb91b14a2b9c77c59 /drivers | |
| parent | 8e5de1d8c34c63331f12cf7bf7bbf115bba0317a (diff) | |
drm/amdgpu: 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/amd/amdgpu/amdgpu_atpx_handler.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c index 3f7aaa45bf8e..1a6b239baab9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |||
| @@ -536,7 +536,7 @@ static bool amdgpu_atpx_detect(void) | |||
| 536 | 536 | ||
| 537 | if (has_atpx && vga_count == 2) { | 537 | if (has_atpx && vga_count == 2) { |
| 538 | acpi_get_name(amdgpu_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer); | 538 | acpi_get_name(amdgpu_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer); |
| 539 | printk(KERN_INFO "VGA switcheroo: detected switching method %s handle\n", | 539 | printk(KERN_INFO "vga_switcheroo: detected switching method %s handle\n", |
| 540 | acpi_method_name); | 540 | acpi_method_name); |
| 541 | amdgpu_atpx_priv.atpx_detected = true; | 541 | amdgpu_atpx_priv.atpx_detected = true; |
| 542 | return true; | 542 | return true; |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 6068d8207d10..4256b00d0b37 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
| @@ -1022,7 +1022,7 @@ static void amdgpu_check_arguments(struct amdgpu_device *adev) | |||
| 1022 | * amdgpu_switcheroo_set_state - set switcheroo state | 1022 | * amdgpu_switcheroo_set_state - set switcheroo state |
| 1023 | * | 1023 | * |
| 1024 | * @pdev: pci dev pointer | 1024 | * @pdev: pci dev pointer |
| 1025 | * @state: vga switcheroo state | 1025 | * @state: vga_switcheroo state |
| 1026 | * | 1026 | * |
| 1027 | * Callback for the switcheroo driver. Suspends or resumes the | 1027 | * Callback for the switcheroo driver. Suspends or resumes the |
| 1028 | * the asics before or after it is powered up using ACPI methods. | 1028 | * the asics before or after it is powered up using ACPI methods. |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 275f1c3dbba0..78233225dd36 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |||
| @@ -489,7 +489,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file | |||
| 489 | * | 489 | * |
| 490 | * @dev: drm dev pointer | 490 | * @dev: drm dev pointer |
| 491 | * | 491 | * |
| 492 | * Switch vga switcheroo state after last close (all asics). | 492 | * Switch vga_switcheroo state after last close (all asics). |
| 493 | */ | 493 | */ |
| 494 | void amdgpu_driver_lastclose_kms(struct drm_device *dev) | 494 | void amdgpu_driver_lastclose_kms(struct drm_device *dev) |
| 495 | { | 495 | { |
