Commit 66ad8a10 authored by Amit Kucheria's avatar Amit Kucheria Committed by Eduardo Valentin

drivers: thermal: tsens: change data type for sensor IDs

The IDs cannot be negative, fix the data type.
Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 3e6a8fb3
...@@ -35,8 +35,8 @@ struct tsens_sensor { ...@@ -35,8 +35,8 @@ struct tsens_sensor {
struct tsens_priv *priv; struct tsens_priv *priv;
struct thermal_zone_device *tzd; struct thermal_zone_device *tzd;
int offset; int offset;
int id; unsigned int id;
int hw_id; unsigned int hw_id;
int slope; int slope;
u32 status; u32 status;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment