]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/audio: rename intel_init_audio_hooks to intel_audio_hooks_init
authorJani Nikula <jani.nikula@intel.com>
Thu, 4 Nov 2021 16:18:58 +0000 (18:18 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 5 Nov 2021 11:05:14 +0000 (13:05 +0200)
Follow the filename based prefix naming.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211104161858.21786-6-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_audio.c
drivers/gpu/drm/i915/display/intel_audio.h
drivers/gpu/drm/i915/display/intel_display.c

index 24e76657d5612c84bae1609ceb820684a2030683..03c3111ebdf0326c412d9ed66dd00e9c12acc7b0 100644 (file)
@@ -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;
index dcb259dd2da749599607938e963cc67743a02cc3..63b22131dc456ed293959f1150685f2db1b6079e 100644 (file)
@@ -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);
index e9c29d4bb70ab741c35390dce8649d47618b1db3..0b43650b0e4fec08abaecbddbbfa268784ed8873 100644 (file)
@@ -9494,7 +9494,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);