]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: trip: Fold __thermal_zone_get_trip() into its caller
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Jul 2024 14:44:27 +0000 (16:44 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 12 Jul 2024 13:14:56 +0000 (15:14 +0200)
commit5b674baa596e624fde8bf62b9a3d8a26eef399b2
tree0f043a0783d6eb249eefd6fcf994dc9b404e2f3e
parent0728c810873e1a94e8b767f9809af940c9307d60
thermal: trip: Fold __thermal_zone_get_trip() into its caller

Because __thermal_zone_get_trip() is only called by thermal_zone_get_trip()
now, fold the former into the latter.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/22339769.EfDdHjke4D@rjwysocki.net
drivers/thermal/thermal_trip.c
include/linux/thermal.h