@@ -38,21 +38,6 @@
/* Update rates */
#define FAST_TEMP_MONITORING_RATE 250
-/* helper macros */
-/**
- * ti_thermal_get_trip_value - returns trip temperature based on index
- * @i: trip index
- */
-#define ti_thermal_get_trip_value(i) \
- (OMAP_TRIP_HOT + ((i) * OMAP_TRIP_STEP))
-
-/**
- * ti_thermal_is_valid_trip - check for trip index
- * @i: trip index
- */
-#define ti_thermal_is_valid_trip(trip) \
- ((trip) >= 0 && (trip) < OMAP_TRIP_NUMBER)
-
#ifdef CONFIG_TI_THERMAL
int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain);
int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id);
The following commit has been merged into the thermal/next branch of thermal: Commit-ID: a23e3ebef74e2f9c8e58a5052ea6b717cc8fa860 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//a23e3ebef74e2f9c8e58a5052ea6b717cc8fa860 Author: Daniel Lezcano <daniel.lezcano@linaro.org> AuthorDate: Mon, 03 Oct 2022 11:25:58 +02:00 Committer: Daniel Lezcano <daniel.lezcano@kernel.org> CommitterDate: Thu, 08 Dec 2022 14:30:43 +01:00 thermal/drivers/ti: Remove unused macros ti_thermal_get_trip_value() / ti_thermal_trip_is_valid() The macros: ti_thermal_get_trip_value() ti_thermal_trip_is_valid() are unused. Remove them. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20221003092602.1323944-26-daniel.lezcano@linaro.org --- drivers/thermal/ti-soc-thermal/ti-thermal.h | 15 --------------- 1 file changed, 15 deletions(-)