thermal: trip: Drop redundant __thermal_zone_get_trip() header
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Dec 2023 19:36:14 +0000 (20:36 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Dec 2023 11:31:59 +0000 (12:31 +0100)
The __thermal_zone_get_trip() header in drivers/thermal/thermal_core.h
is redundant, because there is one already in thermal.h, so drop it.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_core.h

index 7dfe6c8deb8ecb602e6dca9fab8f200a6ae23687..fe2917a74054a4c653b41aa8f65959acf56f85e5 100644 (file)
@@ -120,8 +120,6 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz,
        for (__trip = __tz->trips; __trip - __tz->trips < __tz->num_trips; __trip++)
 
 void __thermal_zone_set_trips(struct thermal_zone_device *tz);
-int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id,
-                           struct thermal_trip *trip);
 int thermal_zone_trip_id(struct thermal_zone_device *tz,
                         const struct thermal_trip *trip);
 void thermal_zone_trip_updated(struct thermal_zone_device *tz,