diff mbox series

drm/i915: Fixup kernel doc for param name changes

Message ID 20181008104808.17457-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series drm/i915: Fixup kernel doc for param name changes | expand

Commit Message

Chris Wilson Oct. 8, 2018, 10:48 a.m. UTC
s/crtc/crtc_state/ for the kernel doc as well as the params.

Fixes: 65c307fd08dd ("drm/i915: Make shared dpll functions take crtc_state, v3.")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_dpll_mgr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Ville Syrjala Oct. 8, 2018, 11:13 a.m. UTC | #1
On Mon, Oct 08, 2018 at 11:48:08AM +0100, Chris Wilson wrote:
> s/crtc/crtc_state/ for the kernel doc as well as the params.
> 
> Fixes: 65c307fd08dd ("drm/i915: Make shared dpll functions take crtc_state, v3.")
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/i915/intel_dpll_mgr.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dpll_mgr.c b/drivers/gpu/drm/i915/intel_dpll_mgr.c
> index 10e820804eee..874646357ad1 100644
> --- a/drivers/gpu/drm/i915/intel_dpll_mgr.c
> +++ b/drivers/gpu/drm/i915/intel_dpll_mgr.c
> @@ -126,7 +126,7 @@ void assert_shared_dpll(struct drm_i915_private *dev_priv,
>  
>  /**
>   * intel_prepare_shared_dpll - call a dpll's prepare hook
> - * @crtc: CRTC which has a shared dpll
> + * @crtc_state: CRTC, and its state, which has a shared dpll
>   *
>   * This calls the PLL's prepare hook if it has one and if the PLL is not
>   * already enabled. The prepare hook is platform specific.
> @@ -154,7 +154,7 @@ void intel_prepare_shared_dpll(const struct intel_crtc_state *crtc_state)
>  
>  /**
>   * intel_enable_shared_dpll - enable a CRTC's shared DPLL
> - * @crtc: CRTC which has a shared DPLL
> + * @crtc_state: CRTC, and its state, which has a shared DPLL
>   *
>   * Enable the shared DPLL used by @crtc.
>   */
> @@ -199,7 +199,7 @@ void intel_enable_shared_dpll(const struct intel_crtc_state *crtc_state)
>  
>  /**
>   * intel_disable_shared_dpll - disable a CRTC's shared DPLL
> - * @crtc: CRTC which has a shared DPLL
> + * @crtc_state: CRTC, and its state, which has a shared DPLL
>   *
>   * Disable the shared DPLL used by @crtc.
>   */
> -- 
> 2.19.1
Maarten Lankhorst Oct. 8, 2018, 11:22 a.m. UTC | #2
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>


On 08.10.2018 14:13, Ville Syrjälä wrote:
> On Mon, Oct 08, 2018 at 11:48:08AM +0100, Chris Wilson wrote:
>> s/crtc/crtc_state/ for the kernel doc as well as the params.
>>
>> Fixes: 65c307fd08dd ("drm/i915: Make shared dpll functions take crtc_state, v3.")
>> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
>> ---
>>   drivers/gpu/drm/i915/intel_dpll_mgr.c | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/intel_dpll_mgr.c b/drivers/gpu/drm/i915/intel_dpll_mgr.c
>> index 10e820804eee..874646357ad1 100644
>> --- a/drivers/gpu/drm/i915/intel_dpll_mgr.c
>> +++ b/drivers/gpu/drm/i915/intel_dpll_mgr.c
>> @@ -126,7 +126,7 @@ void assert_shared_dpll(struct drm_i915_private *dev_priv,
>>   
>>   /**
>>    * intel_prepare_shared_dpll - call a dpll's prepare hook
>> - * @crtc: CRTC which has a shared dpll
>> + * @crtc_state: CRTC, and its state, which has a shared dpll
>>    *
>>    * This calls the PLL's prepare hook if it has one and if the PLL is not
>>    * already enabled. The prepare hook is platform specific.
>> @@ -154,7 +154,7 @@ void intel_prepare_shared_dpll(const struct intel_crtc_state *crtc_state)
>>   
>>   /**
>>    * intel_enable_shared_dpll - enable a CRTC's shared DPLL
>> - * @crtc: CRTC which has a shared DPLL
>> + * @crtc_state: CRTC, and its state, which has a shared DPLL
>>    *
>>    * Enable the shared DPLL used by @crtc.
>>    */
>> @@ -199,7 +199,7 @@ void intel_enable_shared_dpll(const struct intel_crtc_state *crtc_state)
>>   
>>   /**
>>    * intel_disable_shared_dpll - disable a CRTC's shared DPLL
>> - * @crtc: CRTC which has a shared DPLL
>> + * @crtc_state: CRTC, and its state, which has a shared DPLL
>>    *
>>    * Disable the shared DPLL used by @crtc.
>>    */
>> -- 
>> 2.19.1
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/intel_dpll_mgr.c b/drivers/gpu/drm/i915/intel_dpll_mgr.c
index 10e820804eee..874646357ad1 100644
--- a/drivers/gpu/drm/i915/intel_dpll_mgr.c
+++ b/drivers/gpu/drm/i915/intel_dpll_mgr.c
@@ -126,7 +126,7 @@  void assert_shared_dpll(struct drm_i915_private *dev_priv,
 
 /**
  * intel_prepare_shared_dpll - call a dpll's prepare hook
- * @crtc: CRTC which has a shared dpll
+ * @crtc_state: CRTC, and its state, which has a shared dpll
  *
  * This calls the PLL's prepare hook if it has one and if the PLL is not
  * already enabled. The prepare hook is platform specific.
@@ -154,7 +154,7 @@  void intel_prepare_shared_dpll(const struct intel_crtc_state *crtc_state)
 
 /**
  * intel_enable_shared_dpll - enable a CRTC's shared DPLL
- * @crtc: CRTC which has a shared DPLL
+ * @crtc_state: CRTC, and its state, which has a shared DPLL
  *
  * Enable the shared DPLL used by @crtc.
  */
@@ -199,7 +199,7 @@  void intel_enable_shared_dpll(const struct intel_crtc_state *crtc_state)
 
 /**
  * intel_disable_shared_dpll - disable a CRTC's shared DPLL
- * @crtc: CRTC which has a shared DPLL
+ * @crtc_state: CRTC, and its state, which has a shared DPLL
  *
  * Disable the shared DPLL used by @crtc.
  */