thermal: ti-soc-thermal: Fix kernel-doc
Subsystems (2)
PATCH 1/1 thermal: ti-soc-thermal: Fix kernel-doc
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 <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/ti-soc-thermal/ti-bandgap.c +1 -1
@@ -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 *
Signature · 1 line
1.8.3.1
Quoted 9 lines · Yang Li
Fix function name in
ti-bandgap.ckernel-doc comment to remove a warning.
drivers/thermal/ti-soc-thermal/ti-bandgap.c:787: warning: expecting prototype forti_bandgap_alert_init(). Prototype was forti_bandgap_talert_init()instead.Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
Acked-by Suman Anna <[email protected]>
Quoted 18 lines
--- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/ti-soc-thermal/ti-bandgap.c +1
-1@@ -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 *