[PATCH] drm/amd: Clean up errors in smu_v13_0_5_ppt.c
Alex Deucher
alexdeucher at gmail.com
Mon Aug 7 16:22:55 UTC 2023
Applied. Thanks!
On Mon, Jul 31, 2023 at 10:11 PM Ran Sun <sunran001 at 208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: space prohibited before that ',' (ctx:WxW)
>
> Signed-off-by: Ran Sun <sunran001 at 208suo.com>
> ---
> drivers/gpu/drm/amd/pm/swsmu/smu_internal.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h b/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
> index ceb13c838067..bcc42abfc768 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
> @@ -61,14 +61,14 @@
> #define smu_feature_get_enabled_mask(smu, mask) smu_ppt_funcs(get_enabled_mask, -EOPNOTSUPP, smu, mask)
> #define smu_feature_is_enabled(smu, mask) smu_ppt_funcs(feature_is_enabled, 0, smu, mask)
> #define smu_disable_all_features_with_exception(smu, mask) smu_ppt_funcs(disable_all_features_with_exception, 0, smu, mask)
> -#define smu_is_dpm_running(smu) smu_ppt_funcs(is_dpm_running, 0 , smu)
> +#define smu_is_dpm_running(smu) smu_ppt_funcs(is_dpm_running, 0, smu)
> #define smu_notify_display_change(smu) smu_ppt_funcs(notify_display_change, 0, smu)
> #define smu_populate_umd_state_clk(smu) smu_ppt_funcs(populate_umd_state_clk, 0, smu)
> #define smu_enable_thermal_alert(smu) smu_ppt_funcs(enable_thermal_alert, 0, smu)
> #define smu_disable_thermal_alert(smu) smu_ppt_funcs(disable_thermal_alert, 0, smu)
> #define smu_smc_read_sensor(smu, sensor, data, size) smu_ppt_funcs(read_sensor, -EINVAL, smu, sensor, data, size)
> #define smu_pre_display_config_changed(smu) smu_ppt_funcs(pre_display_config_changed, 0, smu)
> -#define smu_display_config_changed(smu) smu_ppt_funcs(display_config_changed, 0 , smu)
> +#define smu_display_config_changed(smu) smu_ppt_funcs(display_config_changed, 0, smu)
> #define smu_apply_clocks_adjust_rules(smu) smu_ppt_funcs(apply_clocks_adjust_rules, 0, smu)
> #define smu_notify_smc_display_config(smu) smu_ppt_funcs(notify_smc_display_config, 0, smu)
> #define smu_run_btc(smu) smu_ppt_funcs(run_btc, 0, smu)
> --
> 2.17.1
>
More information about the amd-gfx
mailing list