diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-03-20 18:47:54 +0530 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-14 06:59:18 -0700 |
commit | 66ad8a100953dc1433c3ead8c473746d60c05693 (patch) | |
tree | 3806aec012545f8316d68576b5723d4e07ba2c4b /drivers/thermal | |
parent | 3e6a8fb3308419129c7a52de6eb42feef5a919a0 (diff) | |
download | lwn-66ad8a100953dc1433c3ead8c473746d60c05693.tar.gz lwn-66ad8a100953dc1433c3ead8c473746d60c05693.zip |
drivers: thermal: tsens: change data type for sensor IDs
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>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/qcom/tsens.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index a3bf7de88ae8..527c42cfd2d5 100644 --- 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; }; |