diff mbox series

thermal: ti-soc-thermal: Fix kernel-doc

Message ID 1621851963-36548-1-git-send-email-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series thermal: ti-soc-thermal: Fix kernel-doc | expand

Commit Message

Yang Li May 24, 2021, 10:26 a.m. UTC
Fix function name in ti-bandgap.c kernel-doc comment
to remove a warning.

drivers/thermal/ti-soc-thermal/ti-bandgap.c:787: warning: expecting
prototype for ti_bandgap_alert_init(). Prototype was for
ti_bandgap_talert_init() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Suman Anna May 24, 2021, 3:15 p.m. UTC | #1
On 5/24/21 5:26 AM, Yang Li wrote:
> Fix function name in ti-bandgap.c kernel-doc comment
> to remove a warning.
> 
> drivers/thermal/ti-soc-thermal/ti-bandgap.c:787: warning: expecting
> prototype for ti_bandgap_alert_init(). Prototype was for
> ti_bandgap_talert_init() instead.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Acked-by: Suman Anna <s-anna@ti.com>

> ---
>  drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> index ebe7cb7..ea0603b 100644
> --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> @@ -770,7 +770,7 @@ static int ti_bandgap_tshut_init(struct ti_bandgap *bgp,
>  }
>  
>  /**
> - * ti_bandgap_alert_init() - setup and initialize talert handling
> + * ti_bandgap_talert_init() - setup and initialize talert handling
>   * @bgp: pointer to struct ti_bandgap
>   * @pdev: pointer to device struct platform_device
>   *
>
diff mbox series

Patch

diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
index ebe7cb7..ea0603b 100644
--- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
+++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
@@ -770,7 +770,7 @@  static int ti_bandgap_tshut_init(struct ti_bandgap *bgp,
 }
 
 /**
- * ti_bandgap_alert_init() - setup and initialize talert handling
+ * ti_bandgap_talert_init() - setup and initialize talert handling
  * @bgp: pointer to struct ti_bandgap
  * @pdev: pointer to device struct platform_device
  *