Commit 59a06dc
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 <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://patch.msgid.link/20241014-devel-anna-maria-b4-timers-flseep-v3-11-dc8b907cb62f@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent fceffbf commit 59a06dc
1 file changed
+4
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2642 | 2642 | | |
2643 | 2643 | | |
2644 | 2644 | | |
2645 | | - | |
2646 | | - | |
2647 | | - | |
2648 | | - | |
2649 | | - | |
2650 | | - | |
2651 | | - | |
2652 | | - | |
2653 | | - | |
2654 | | - | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
2658 | | - | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
2662 | | - | |
2663 | | - | |
2664 | | - | |
2665 | | - | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
2669 | | - | |
2670 | | - | |
2671 | | - | |
2672 | | - | |
2673 | | - | |
2674 | | - | |
2675 | | - | |
2676 | | - | |
2677 | | - | |
2678 | | - | |
2679 | | - | |
2680 | | - | |
2681 | | - | |
2682 | | - | |
2683 | | - | |
2684 | 2645 | | |
2685 | 2646 | | |
2686 | 2647 | | |
| |||
2733 | 2694 | | |
2734 | 2695 | | |
2735 | 2696 | | |
2736 | | - | |
| 2697 | + | |
2737 | 2698 | | |
2738 | 2699 | | |
2739 | 2700 | | |
| |||
2767 | 2728 | | |
2768 | 2729 | | |
2769 | 2730 | | |
2770 | | - | |
| 2731 | + | |
2771 | 2732 | | |
2772 | 2733 | | |
2773 | 2734 | | |
| |||
2786 | 2747 | | |
2787 | 2748 | | |
2788 | 2749 | | |
2789 | | - | |
| 2750 | + | |
2790 | 2751 | | |
2791 | 2752 | | |
2792 | 2753 | | |
| |||
3730 | 3691 | | |
3731 | 3692 | | |
3732 | 3693 | | |
3733 | | - | |
| 3694 | + | |
3734 | 3695 | | |
3735 | 3696 | | |
3736 | 3697 | | |
| |||
0 commit comments