aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/step_wise.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/step_wise.c')
-rw-r--r--drivers/thermal/step_wise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/step_wise.c
index 5a0f12d08e8b..2f9f7086ac3d 100644
--- a/drivers/thermal/step_wise.c
+++ b/drivers/thermal/step_wise.c
@@ -113,7 +113,7 @@ static void update_passive_instance(struct thermal_zone_device *tz,
113 113
114static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) 114static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip)
115{ 115{
116 long trip_temp; 116 int trip_temp;
117 enum thermal_trip_type trip_type; 117 enum thermal_trip_type trip_type;
118 enum thermal_trend trend; 118 enum thermal_trend trend;
119 struct thermal_instance *instance; 119 struct thermal_instance *instance;
@@ -135,7 +135,7 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip)
135 trace_thermal_zone_trip(tz, trip, trip_type); 135 trace_thermal_zone_trip(tz, trip, trip_type);
136 } 136 }
137 137
138 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%ld]:trend=%d,throttle=%d\n", 138 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n",
139 trip, trip_type, trip_temp, trend, throttle); 139 trip, trip_type, trip_temp, trend, throttle);
140 140
141 mutex_lock(&tz->lock); 141 mutex_lock(&tz->lock);