mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 19:36:44 +07:00
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:
parent
3e6a8fb330
commit
66ad8a1009
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user