2022-03-15 08:42:46

by Julia Lawall

[permalink] [raw]
Subject: [PATCH 01/30] drm/amd/pm: fix typos in comments

Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <[email protected]>

---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index cbbbd4079249..5cd67ddf8495 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -1870,7 +1870,7 @@ static ssize_t amdgpu_set_smartshift_bias(struct device *dev,
amdgpu_smartshift_bias = bias;
r = count;

- /* TODO: upadte bias level with SMU message */
+ /* TODO: update bias level with SMU message */

out:
pm_runtime_mark_last_busy(ddev->dev);


2022-03-16 21:32:38

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH 01/30] drm/amd/pm: fix typos in comments

Applied. Thanks!

On Mon, Mar 14, 2022 at 8:01 AM Julia Lawall <[email protected]> wrote:
>
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>
>
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index cbbbd4079249..5cd67ddf8495 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -1870,7 +1870,7 @@ static ssize_t amdgpu_set_smartshift_bias(struct device *dev,
> amdgpu_smartshift_bias = bias;
> r = count;
>
> - /* TODO: upadte bias level with SMU message */
> + /* TODO: update bias level with SMU message */
>
> out:
> pm_runtime_mark_last_busy(ddev->dev);
>