Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal/drivers/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.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20240812125210.94280-1-zhangzekun11@huawei.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Zhang Zekun and committed by
Daniel Lezcano
14ed0ef0 41df0390

-4
-4
drivers/thermal/ti-soc-thermal/ti-bandgap.h
··· 336 336 struct ti_temp_sensor sensors[]; 337 337 }; 338 338 339 - int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot); 340 - int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val); 341 - int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold); 342 - int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val); 343 339 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, 344 340 int *interval); 345 341 int ti_bandgap_write_update_interval(struct ti_bandgap *bgp, int id,