diff options
author | Anna-Maria Behnsen <[email protected]> | 2024-10-14 10:22:28 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-22 21:02:30 +0100 |
commit | 59a06dce787851b3df3b7e5f61fbd90ce2144577 (patch) | |
tree | 510992a686186dba71fa41adb97efec5039f3af9 /rust/helpers/task.c | |
parent | fceffbfe57af7d9941d08e1a995cccf558d08451 (diff) |
regulator: core: Use fsleep() to get best sleep mechanism
_regulator_delay_helper() implements the recommondation of the outdated
documentation which sleep mechanism should be used. There is already a
function in place which does everything and also maps to reality called
fsleep().
Use fsleep() directly.
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Signed-off-by: Anna-Maria Behnsen <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://patch.msgid.link/20241014-devel-anna-maria-b4-timers-flseep-v3-11-dc8b907cb62f@linutronix.de
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions