Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal/drivers/hisi: Remove pointless lock
The threaded interrupt inspect the sensors structure to look in the temp threshold field, but this field is read-only in all the code, except in the probe function before the threaded interrupt is set. In other words there is not race window in the threaded interrupt when reading the field value. Signed-off-by: Daniel Lezcano <[email protected]> Reviewed-by: Leo Yan <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
- Loading branch information