Re: [PATCH v2 11/15] regulator: core: Use fsleep() to get best sleep mechanism
From: Frederic Weisbecker
Date: Wed Oct 09 2024 - 09:37:49 EST
Le Wed, Sep 11, 2024 at 07:13:37AM +0200, Anna-Maria Behnsen a écrit :
> _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@xxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Signed-off-by: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>
Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>