projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: rockchip: rk3368: ajust tsadc's data path according request of qos
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
thermal
/
qcom-spmi-temp-alarm.c
diff --git
a/drivers/thermal/qcom-spmi-temp-alarm.c
b/drivers/thermal/qcom-spmi-temp-alarm.c
index c8d27b8fb9eca1c5ba017fc475c3fbd26bf85580..b677aada5b52860948d6731b0c164573aad4b9f9 100644
(file)
--- a/
drivers/thermal/qcom-spmi-temp-alarm.c
+++ b/
drivers/thermal/qcom-spmi-temp-alarm.c
@@
-117,7
+117,7
@@
static int qpnp_tm_update_temp_no_adc(struct qpnp_tm_chip *chip)
return 0;
}
-static int qpnp_tm_get_temp(void *data,
long
*temp)
+static int qpnp_tm_get_temp(void *data,
int
*temp)
{
struct qpnp_tm_chip *chip = data;
int ret, mili_celsius;