From patchwork Mon Mar 21 16:12:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 12787492 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 E9DBCC4332F for ; Mon, 21 Mar 2022 16:12:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350864AbiCUQOA (ORCPT ); Mon, 21 Mar 2022 12:14:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350816AbiCUQN6 (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 5252F6A005 for ; Mon, 21 Mar 2022 09:12:32 -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=ikUfaeEEH/yjTb 15TtYVKhrv9wGTjRlZkYE4O4DRV4E=; b=x1xDvcLM4j0MQy55nBJrbVLzkUbNmD 5QQ27R/W8esqPhGDPMeiCr3izcn9Q7ZJDbwk7kGIGRhdg1AE0Mn9N7I2eyDnUslx ObyU+wdJmx09gLD7uZNEhGPWuP+3QH30YLVVXnY+dIKCT7okI2SmOhYLIqIUuGdI HuWqKC8I2Y214= Received: (qmail 957729 invoked from network); 21 Mar 2022 17:12:30 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Mar 2022 17:12:30 +0100 X-UD-Smtp-Session: l3s3148p1@KQFfw7zaHtkgAwDPXxCoAIeNYiWy88zT From: Wolfram Sang To: linux-kernel@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Heiner Kallweit , Wolfram Sang Subject: [RFC PATCH 04/15] iio: adc: use new name 'usleep_autoyield' instead of 'fsleep' Date: Mon, 21 Mar 2022 17:12:12 +0100 Message-Id: <20220321161223.2837-5-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/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);