projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6a8fb
)
drivers: thermal: tsens: change data type for sensor IDs
author
Amit Kucheria
<amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:17:54 +0000
(18:47 +0530)
committer
Eduardo Valentin
<edubezval@gmail.com>
Tue, 14 May 2019 13:59:18 +0000
(06:59 -0700)
The IDs cannot be negative, fix the data type.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/tsens.h
patch
|
blob
|
history
diff --git
a/drivers/thermal/qcom/tsens.h
b/drivers/thermal/qcom/tsens.h
index a3bf7de88ae819b1482edb180b7b64c0f283a48a..527c42cfd2d57ba8b2ab37f3e4ea25e189d3f014 100644
(file)
--- a/
drivers/thermal/qcom/tsens.h
+++ b/
drivers/thermal/qcom/tsens.h
@@
-35,8
+35,8
@@
struct tsens_sensor {
struct tsens_priv *priv;
struct thermal_zone_device *tzd;
int offset;
-
int
id;
-
int
hw_id;
+
unsigned int
id;
+
unsigned int
hw_id;
int slope;
u32 status;
};