thermal-core: fix compilation warnings on Kernel 4.4

This change fixes below compilation warnings on Kernel 4.4.

thermal_core.c:303:2: warning: format '%d' expects argument of \
type 'int', but argument 4 has type 'long int' [-Wformat=]

thermal_core.c:303:2: warning: format '%d' expects argument of \
type 'int', but argument 5 has type 'long int' [-Wformat=]

Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
Satya Durga Srinivasu Prabhala 2016-03-16 17:26:13 -07:00 committed by David Keitel
parent 1a23d3a63e
commit 66bca60974

View file

@ -300,7 +300,7 @@ static int __update_sensor_thresholds(struct sensor_info *sensor)
}
}
pr_debug("sensor %d: Thresholds: max of low: %d min of high: %d\n",
pr_debug("sensor %d: Thresholds: max of low: %ld min of high: %ld\n",
sensor->sensor_id, max_of_low_thresh,
min_of_high_thresh);