Re: [PATCH v3 6/6] drm/i915/audio: rename intel_init_audio_hooks to intel_audio_hooks_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 04, 2021 at 06:18:58PM +0200, Jani Nikula wrote:
> Follow the filename based prefix naming.
> 
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>

Reviewed-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/display/intel_audio.c   | 4 ++--
>  drivers/gpu/drm/i915/display/intel_audio.h   | 2 +-
>  drivers/gpu/drm/i915/display/intel_display.c | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c
> index aa7037021376..74d56487267c 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.c
> +++ b/drivers/gpu/drm/i915/display/intel_audio.c
> @@ -940,10 +940,10 @@ static const struct intel_audio_funcs hsw_audio_funcs = {
>  };
>  
>  /**
> - * intel_init_audio_hooks - Set up chip specific audio hooks
> + * intel_audio_hooks_init - Set up chip specific audio hooks
>   * @dev_priv: device private
>   */
> -void intel_init_audio_hooks(struct drm_i915_private *dev_priv)
> +void intel_audio_hooks_init(struct drm_i915_private *dev_priv)
>  {
>  	if (IS_G4X(dev_priv)) {
>  		dev_priv->audio.funcs = &g4x_audio_funcs;
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.h b/drivers/gpu/drm/i915/display/intel_audio.h
> index dcb259dd2da7..63b22131dc45 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.h
> +++ b/drivers/gpu/drm/i915/display/intel_audio.h
> @@ -11,7 +11,7 @@ struct drm_i915_private;
>  struct intel_crtc_state;
>  struct intel_encoder;
>  
> -void intel_init_audio_hooks(struct drm_i915_private *dev_priv);
> +void intel_audio_hooks_init(struct drm_i915_private *dev_priv);
>  void intel_audio_codec_enable(struct intel_encoder *encoder,
>  			      const struct intel_crtc_state *crtc_state,
>  			      const struct drm_connector_state *conn_state);
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 29392dfc46c8..25c3a44ed693 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -9486,7 +9486,7 @@ void intel_init_display_hooks(struct drm_i915_private *dev_priv)
>  		return;
>  
>  	intel_init_cdclk_hooks(dev_priv);
> -	intel_init_audio_hooks(dev_priv);
> +	intel_audio_hooks_init(dev_priv);
>  
>  	intel_dpll_init_clock_hook(dev_priv);
>  
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux