OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
a3bf7de
..
527c42c
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;
};