projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: consistently use int for temperatures
[deliverable/linux.git]
/
drivers
/
thermal
/
int340x_thermal
/
processor_thermal_device.c
diff --git
a/drivers/thermal/int340x_thermal/processor_thermal_device.c
b/drivers/thermal/int340x_thermal/processor_thermal_device.c
index 3df3dc34b124261789469208a07ffd85604292db..ccc0ad02d06698108ec486d11f7b0dc69c7c734a 100644
(file)
--- a/
drivers/thermal/int340x_thermal/processor_thermal_device.c
+++ b/
drivers/thermal/int340x_thermal/processor_thermal_device.c
@@
-145,7
+145,7
@@
static int get_tjmax(void)
return -EINVAL;
}
-static int read_temp_msr(
unsigned long
*temp)
+static int read_temp_msr(
int
*temp)
{
int cpu;
u32 eax, edx;
@@
-177,7
+177,7
@@
err_ret:
}
static int proc_thermal_get_zone_temp(struct thermal_zone_device *zone,
-
unsigned long
*temp)
+
int
*temp)
{
int ret;
This page took
0.024146 seconds
and
5
git commands to generate.