thermal: ti-soc-thermal: Remove unused declarations
Subsystems (2)
PATCH 1/1 thermal: ti-soc-thermal: Remove unused declarations
The functions definition of ti_bandgap_read_thot(), ti_bandgap_write_thot(), ti_bandgap_read_tcold() and ti_bandgap_write_tcold() has been removed since commit 9bebf3485c6a ("thermal: ti-soc-thermal: remove dead code"), remain the declarations untouched in the header files. So, clean up this unused declarations.
--- drivers/thermal/ti-soc-thermal/ti-bandgap.h | 4 ---- 1 file changed, 4 deletions(-)
drivers/thermal/ti-soc-thermal/ti-bandgap.h +0 -4
@@ -336,10 +336,6 @@ struct ti_bandgap_data {struct ti_temp_sensor sensors[]; }; -int ti_bandgap_read_thot (struct ti_bandgap *bgp,int id,int *thot); -int ti_bandgap_write_thot (struct ti_bandgap *bgp,int id,int val); -int ti_bandgap_read_tcold (struct ti_bandgap *bgp,int id,int *tcold); -int ti_bandgap_write_tcold (struct ti_bandgap *bgp,int id,int val);int ti_bandgap_read_update_interval (struct ti_bandgap *bgp,int id,int *interval); int ti_bandgap_write_update_interval(struct ti_bandgap *bgp, int id,
Signature · 1 line
2.17.1
Quoted 11 lines · Zhang Zekun
The functions definition of
ti_bandgap_read_thot(),ti_bandgap_write_thot(),ti_bandgap_read_tcold()andti_bandgap_write_tcold()has been removed since commit9bebf3485c6a("thermal: ti-soc-thermal: remove dead code"), remain the declarations untouched in the header files. So, clean up this unused declarations.Signed-off-by Zhang Zekun <[email protected]>--- drivers/thermal/ti-soc-thermal/ti-bandgap.h | 4 ---- 1 file changed, 4 deletions(-)
Signature · 2 lines
Best regards, Dhruva
Daniel Lezcano
AppliedQuoted 8 lines · Zhang Zekun
The functions definition of
ti_bandgap_read_thot(),ti_bandgap_write_thot(),ti_bandgap_read_tcold()andti_bandgap_write_tcold()has been removed since commit9bebf3485c6a("thermal: ti-soc-thermal: remove dead code"), remain the declarations untouched in the header files. So, clean up this unused declarations.Signed-off-by Zhang Zekun <[email protected]>---
Applied, thanks
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog