[PATCH] drm/amdgpu: Clean up errors in common_baco.c

Alex Deucher alexdeucher at gmail.com
Mon Aug 7 16:35:19 UTC 2023


Applied.  Thanks!

On Tue, Aug 1, 2023 at 3:55 AM Ran Sun <sunran001 at 208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: code indent should use tabs where possible
>
> Signed-off-by: Ran Sun <sunran001 at 208suo.com>
> ---
>  drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c
> index 1c73776bd606..fd79337a3536 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c
> @@ -42,7 +42,7 @@ static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 va
>  }
>
>  static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask,
> -                               u32 shift, u32 value, u32 timeout)
> +                               u32 shift, u32 value, u32 timeout)
>  {
>         struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev);
>         u32 data;
> --
> 2.17.1
>


More information about the dri-devel mailing list