[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220321161223.2837-8-wsa+renesas@sang-engineering.com>
Date: Mon, 21 Mar 2022 17:12:15 +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 07/15] mux: 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/mux/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mux/core.c b/drivers/mux/core.c
index 22f4709768d1..4999f255b787 100644
--- a/drivers/mux/core.c
+++ b/drivers/mux/core.c
@@ -329,7 +329,7 @@ static void mux_control_delay(struct mux_control *mux, unsigned int delay_us)
delayend = ktime_add_us(mux->last_change, delay_us);
remaining = ktime_us_delta(delayend, ktime_get());
if (remaining > 0)
- fsleep(remaining);
+ usleep_autoyield(remaining);
}
/**
--
2.34.1
Powered by blists - more mailing lists