2022-10-22 06:28:21

by wangjianli

[permalink] [raw]
Subject: [PATCH] drm/radeon: fix repeated words in comments

Delete the redundant word 'the'.

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

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 15692cb241fc..ff52b5f4c1e6 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1206,7 +1206,7 @@ static void radeon_check_arguments(struct radeon_device *rdev)
* @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 radeon_switcheroo_set_state(struct pci_dev *pdev, enum vga_switcheroo_state state)
--
2.36.1


2022-10-24 18:09:11

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: fix repeated words in comments

Applied. Thanks!

Alex

On Sat, Oct 22, 2022 at 2:06 AM wangjianli <[email protected]> wrote:
>
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/gpu/drm/radeon/radeon_device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
> index 15692cb241fc..ff52b5f4c1e6 100644
> --- a/drivers/gpu/drm/radeon/radeon_device.c
> +++ b/drivers/gpu/drm/radeon/radeon_device.c
> @@ -1206,7 +1206,7 @@ static void radeon_check_arguments(struct radeon_device *rdev)
> * @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 radeon_switcheroo_set_state(struct pci_dev *pdev, enum vga_switcheroo_state state)
> --
> 2.36.1
>