Re: [PATCH] gpu: amd: Clean up errors in ppatomfwctrl.h

From: Alex Deucher
Date: Mon Aug 07 2023 - 12:45:11 EST


Applied. Thanks!

On Tue, Aug 1, 2023 at 5:30 AM Ran Sun <sunran001@xxxxxxxxxx> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: open brace '{' following struct go on the same line
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
> drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h
> index 2fc1733bcdcf..e86e05c786d9 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h
> @@ -147,8 +147,7 @@ struct pp_atomfwctrl_bios_boot_up_values {
> uint8_t ucCoolingID;
> };
>
> -struct pp_atomfwctrl_smc_dpm_parameters
> -{
> +struct pp_atomfwctrl_smc_dpm_parameters {
> uint8_t liquid1_i2c_address;
> uint8_t liquid2_i2c_address;
> uint8_t vr_i2c_address;
> --
> 2.17.1
>