2022-10-22 06:14:15

by wangjianli

[permalink] [raw]
Subject: [PATCH] amd/amdgpu: fix repeated words in comments

Delete the redundant word 'the'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index e9155dc1c30c..3de990bbbf2f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1565,7 +1565,7 @@ static int amdgpu_device_check_arguments(struct amdgpu_device *adev)
* @pdev: pci dev pointer
* @state: vga_switcheroo state
*
- * Callback for the switcheroo driver. Suspends or resumes the
+ * Callback for the switcheroo driver. Suspends or resumes
* the asics before or after it is powered up using ACPI methods.
*/
static void amdgpu_switcheroo_set_state(struct pci_dev *pdev,
--
2.36.1


2022-10-24 16:58:40

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] amd/amdgpu: fix repeated words in comments

On Sat, Oct 22, 2022 at 2:02 AM wangjianli <[email protected]> wrote:
>
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <[email protected]>

Applied. Thanks!

Alex

> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index e9155dc1c30c..3de990bbbf2f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -1565,7 +1565,7 @@ static int amdgpu_device_check_arguments(struct amdgpu_device *adev)
> * @pdev: pci dev pointer
> * @state: vga_switcheroo state
> *
> - * Callback for the switcheroo driver. Suspends or resumes the
> + * Callback for the switcheroo driver. Suspends or resumes
> * the asics before or after it is powered up using ACPI methods.
> */
> static void amdgpu_switcheroo_set_state(struct pci_dev *pdev,
> --
> 2.36.1
>