From patchwork Mon Mar 21 16:12:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 12787490 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F29DC433FE for ; Mon, 21 Mar 2022 16:12:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234996AbiCUQN7 (ORCPT ); Mon, 21 Mar 2022 12:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350715AbiCUQN6 (ORCPT ); Mon, 21 Mar 2022 12:13:58 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A4172E6BC for ; Mon, 21 Mar 2022 09:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=Olo2Uqd/vUiEwq 7fC0KME5v7jxlFjg6geezBJLWQIFQ=; b=qoKEAx2sBOI4aUgpFuP764d7Pz/1Z9 kpGEG9DrJOfTU8fbLJa5V2fbMFKkL6bLVSZxK+zeDAg0qsYQM+mdJsOdu9nISaTc 762A8OJN5MJBgs6GNac0yLruTEI0jEf+RdY0TwGW3dqyizv2K5KUZonCRzsbTgro fBX2L1OlRTv2A= Received: (qmail 957674 invoked from network); 21 Mar 2022 17:12:29 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Mar 2022 17:12:29 +0100 X-UD-Smtp-Session: l3s3148p1@oNRNw7zaGtkgAwDPXxCoAIeNYiWy88zT From: Wolfram Sang To: linux-kernel@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Heiner Kallweit , Wolfram Sang Subject: [RFC PATCH 02/15] base: regmap: use new name 'usleep_autoyield' instead of 'fsleep' Date: Mon, 21 Mar 2022 17:12:10 +0100 Message-Id: <20220321161223.2837-3-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220321161223.2837-1-wsa+renesas@sang-engineering.com> References: <20220321161223.2837-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The function was just renamed to be easier understandable. No functional change. Signed-off-by: Wolfram Sang --- RFC, please do not apply yet drivers/base/regmap/regmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 8f9fe5fd4707..27c75611d177 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -2429,7 +2429,7 @@ static int _regmap_range_multi_paged_reg_write(struct regmap *map, if (regs[i].delay_us) { if (map->can_sleep) - fsleep(regs[i].delay_us); + usleep_autoyield(regs[i].delay_us); else udelay(regs[i].delay_us); } @@ -2470,7 +2470,7 @@ static int _regmap_multi_reg_write(struct regmap *map, if (regs[i].delay_us) { if (map->can_sleep) - fsleep(regs[i].delay_us); + usleep_autoyield(regs[i].delay_us); else udelay(regs[i].delay_us); }