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>
This commit is contained in:
Amit Kucheria 2019-03-20 18:47:54 +05:30 committed by Eduardo Valentin
parent 3e6a8fb330
commit 66ad8a1009

View File

@ -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;
};