Skip to content

Commit f59ac19

Browse files
Daniel Lezcanodlezcano
authored andcommitted
thermal/of: Remove old OF code
All the drivers are converted to the new OF API, remove the old OF code. Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 9326167 commit f59ac19

File tree

3 files changed

+16
-873
lines changed

3 files changed

+16
-873
lines changed

drivers/thermal/thermal_core.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,11 @@ thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev,
135135

136136
/* device tree support */
137137
#ifdef CONFIG_THERMAL_OF
138-
int of_parse_thermal_zones(void);
139138
int of_thermal_get_ntrips(struct thermal_zone_device *);
140139
bool of_thermal_is_trip_valid(struct thermal_zone_device *, int);
141140
const struct thermal_trip *
142141
of_thermal_get_trip_points(struct thermal_zone_device *);
143142
#else
144-
static inline int of_parse_thermal_zones(void) { return 0; }
145143
static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz)
146144
{
147145
return 0;

0 commit comments

Comments
 (0)