diff options
author | Rafael J. Wysocki <[email protected]> | 2024-07-05 21:44:50 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-07-09 18:19:24 +0200 |
commit | d05374dee295d771261d382f97c0c23cb15aa104 (patch) | |
tree | da93c4ff681ac66cf1b13fa5d354f58b364abbed /scripts/sorttable.c | |
parent | 4acab508eb03dc1827db6005764de29299e07569 (diff) |
thermal: core: Change passive_delay and polling_delay data type
It is better to use unsigned int as the data type for the passive_delay
and polling_delay arguments of thermal_zone_device_register_with_trips()
because they are implicitly cast to unsigned int anyway in
thermal_set_delay_jiffies() and if they happen to be negative at that
point, the resulting behavior may not be as desired.
Update the thermal_zone_device_register_with_trips() definition
accordingly.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/sorttable.c')
0 files changed, 0 insertions, 0 deletions