[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220321161223.2837-5-wsa+renesas@sang-engineering.com>
Date: Mon, 21 Mar 2022 17:12:12 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-kernel@...r.kernel.org
Cc: linux-renesas-soc@...r.kernel.org,
Heiner Kallweit <hkallweit1@...il.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>
Subject: [RFC PATCH 04/15] iio: adc: use new name 'usleep_autoyield' instead of 'fsleep'
The function was just renamed to be easier understandable. No functional
change.
Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
---
RFC, please do not apply yet
drivers/iio/adc/ti-tsc2046.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ti-tsc2046.c b/drivers/iio/adc/ti-tsc2046.c
index e8fc4d01f30b..d0d041ec632a 100644
--- a/drivers/iio/adc/ti-tsc2046.c
+++ b/drivers/iio/adc/ti-tsc2046.c
@@ -464,7 +464,7 @@ static void tsc2046_adc_reenable_trigger(struct iio_trigger *trig)
*/
delta = priv->scan_interval_us - priv->time_per_scan_us;
if (delta > 0)
- fsleep(delta);
+ usleep_autoyield(delta);
spin_lock_irqsave(&priv->trig_lock, flags);
--
2.34.1
Powered by blists - more mailing lists