diff mbox series

thermal/drivers/cpuidle_cooling: Delete unmatched comments

Message ID 1681789108-28130-1-git-send-email-wangchenggang@vivo.com (mailing list archive)
State New, archived
Delegated to: Daniel Lezcano
Headers show
Series thermal/drivers/cpuidle_cooling: Delete unmatched comments | expand

Commit Message

Chenggang Wang April 18, 2023, 3:38 a.m. UTC
The function no longer returns a value, synchronize the comments.

Signed-off-by: wangchenggang@vivo.com
---
 drivers/thermal/cpuidle_cooling.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Viresh Kumar April 18, 2023, 3:53 a.m. UTC | #1
On 18-04-23, 11:38, Chenggang Wang wrote:
> The function no longer returns a value, synchronize the comments.
> 
> Signed-off-by: wangchenggang@vivo.com
> ---
>  drivers/thermal/cpuidle_cooling.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c
> index 4f41102..7779739 100644
> --- a/drivers/thermal/cpuidle_cooling.c
> +++ b/drivers/thermal/cpuidle_cooling.c
> @@ -236,9 +236,6 @@ static int __cpuidle_cooling_register(struct device_node *np,
>   *
>   * This function is in charge of creating a cooling device per cpuidle
>   * driver and register it to the thermal framework.
> - *
> - * Return: zero on success, or negative value corresponding to the
> - * error detected in the underlying subsystems.
>   */
>  void cpuidle_cooling_register(struct cpuidle_driver *drv)
>  {

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Rafael J. Wysocki April 18, 2023, 1:30 p.m. UTC | #2
On Tue, Apr 18, 2023 at 5:53 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On 18-04-23, 11:38, Chenggang Wang wrote:
> > The function no longer returns a value, synchronize the comments.
> >
> > Signed-off-by: wangchenggang@vivo.com
> > ---
> >  drivers/thermal/cpuidle_cooling.c | 3 ---
> >  1 file changed, 3 deletions(-)
> >
> > diff --git a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c
> > index 4f41102..7779739 100644
> > --- a/drivers/thermal/cpuidle_cooling.c
> > +++ b/drivers/thermal/cpuidle_cooling.c
> > @@ -236,9 +236,6 @@ static int __cpuidle_cooling_register(struct device_node *np,
> >   *
> >   * This function is in charge of creating a cooling device per cpuidle
> >   * driver and register it to the thermal framework.
> > - *
> > - * Return: zero on success, or negative value corresponding to the
> > - * error detected in the underlying subsystems.
> >   */
> >  void cpuidle_cooling_register(struct cpuidle_driver *drv)
> >  {
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Daniel, are you going to pick up this one?
Daniel Lezcano April 18, 2023, 1:32 p.m. UTC | #3
On 18/04/2023 15:30, Rafael J. Wysocki wrote:
> On Tue, Apr 18, 2023 at 5:53 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>>
>> On 18-04-23, 11:38, Chenggang Wang wrote:
>>> The function no longer returns a value, synchronize the comments.
>>>
>>> Signed-off-by: wangchenggang@vivo.com
>>> ---
>>>   drivers/thermal/cpuidle_cooling.c | 3 ---
>>>   1 file changed, 3 deletions(-)
>>>
>>> diff --git a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c
>>> index 4f41102..7779739 100644
>>> --- a/drivers/thermal/cpuidle_cooling.c
>>> +++ b/drivers/thermal/cpuidle_cooling.c
>>> @@ -236,9 +236,6 @@ static int __cpuidle_cooling_register(struct device_node *np,
>>>    *
>>>    * This function is in charge of creating a cooling device per cpuidle
>>>    * driver and register it to the thermal framework.
>>> - *
>>> - * Return: zero on success, or negative value corresponding to the
>>> - * error detected in the underlying subsystems.
>>>    */
>>>   void cpuidle_cooling_register(struct cpuidle_driver *drv)
>>>   {
>>
>> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
> 
> Daniel, are you going to pick up this one?

Yes
diff mbox series

Patch

diff --git a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c
index 4f41102..7779739 100644
--- a/drivers/thermal/cpuidle_cooling.c
+++ b/drivers/thermal/cpuidle_cooling.c
@@ -236,9 +236,6 @@  static int __cpuidle_cooling_register(struct device_node *np,
  *
  * This function is in charge of creating a cooling device per cpuidle
  * driver and register it to the thermal framework.
- *
- * Return: zero on success, or negative value corresponding to the
- * error detected in the underlying subsystems.
  */
 void cpuidle_cooling_register(struct cpuidle_driver *drv)
 {