From patchwork Thu Aug 29 08:51:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13782799 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BAAAC8300F for ; Thu, 29 Aug 2024 08:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=heIFKAnQeQ+nyj/vXNO0cty0i3q7712MChM12fe4bG8=; b=If/Zlj+RIpZFFw2wi6MFzfavRB nL5IVKTKsqVKcNZxLs79dvRJrVwybJgioh0imdLJGkDbBffuoWOnOXAOA+zexWwHpQeG00yD6vDkx O2A6gmPqIcsDYQ5UkRGXe494CPkPKPzq/LtK+/rR2e9uQMsH+GcCXt1nn9NPM2P5r9o//cSWdqgZ+ 6Ui+OqzGKFFXflVZhgVp9Ercvjs79YJ6m2ac/2KuisZlmeogX5B8F+1kP/8H52pcElNdQfN/CLibI 37kFcNY040bKt5cLZrPHbp2uYsQ1OdFGeSwWTaPo65Et3eJszRXuYfg9Z/vGsphNSGlcBNVpG27wB O+mFxOsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjauN-00000001EOj-1PtF; Thu, 29 Aug 2024 08:53:35 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjash-00000001DoQ-2Bzs for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 08:51:52 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-204f52fe74dso3559925ad.1 for ; Thu, 29 Aug 2024 01:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724921511; x=1725526311; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=heIFKAnQeQ+nyj/vXNO0cty0i3q7712MChM12fe4bG8=; b=elnj6ax7cVWel+Q1PJvTAR37nvc216mVz9D+7yc1CT+nFdhOMF+GaMaj7dhQPe0sUx n0rnQFQG8szgnvy05rwmUcvSJzKjGcaUil01HXlRP081LEod1pO/pzjLv+P6lTLEIOZM K7VPxJ3PcP7X3oreQDgT4oA9/KWC6UOPMXJQ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724921511; x=1725526311; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=heIFKAnQeQ+nyj/vXNO0cty0i3q7712MChM12fe4bG8=; b=TSDAdsbTYGSwFCGFFC6wHwLJg9T/Tt1brVFMSjRWdnQGUyKo8aaybJd0juKvT4lEFU meIHyXmiYgR3g8ebcPZmPbHgsFh7zW96pgvCXSzJXsRoABaWHvSMXobm6Ot8auNMl91I qfyr705aMcFv679vA6wL18fboTpmrZ/jRjWOcz7hyBKkZ28hCSGgQ6HISZtLNyMgjDux 9A9mTKU8HR3Um7hkfN+IyXi/GrD9Aqbn9WKEo4/dNxR61eGk4XA5c3Wxe4wdlHCkcekn U3c5GZwIJUiOeGlJ9u83DUjGYRwndu+QxraBlbcW5EIgksH1Ioc1k8XTn9/tbDKBM9CY DCjg== X-Forwarded-Encrypted: i=1; AJvYcCWpwP/OQim26d36rLuu7GvGqM+Z8amGPX0kXcGc+Mbmkwcl3eDr9/A6vbI8bHeBNhwO8uvS7JwmVLrsg/IWSelJ@lists.infradead.org X-Gm-Message-State: AOJu0YwtBIw4JUeu1y2/cC93aBZHDG+wB3xhzTwDBV+u8tiRmWAHwlX6 78PdGlovic1VLl1FhvuqzWLtEViYpOdseLX/L4mti1YbUvjllEO+uPRNjS1PsA== X-Google-Smtp-Source: AGHT+IEF5DMEz3vypFVgvJ9fuRxtis7hT+mK/UUazZidY3knWdLTfD07eXsusPkoSY4O2j+uwdw9cA== X-Received: by 2002:a17:902:e5c4:b0:202:44a3:e324 with SMTP id d9443c01a7336-2050c34d93fmr23219625ad.21.1724921510665; Thu, 29 Aug 2024 01:51:50 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:fbe5:6d6c:1cc7:23f3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20515543fbdsm6924165ad.218.2024.08.29.01.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 01:51:48 -0700 (PDT) From: Chen-Yu Tsai To: Mark Brown , Liam Girdwood Cc: Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Shevchenko Subject: [PATCH v2 01/10] regulator: core: Fix short description for _regulator_check_status_enabled() Date: Thu, 29 Aug 2024 16:51:21 +0800 Message-ID: <20240829085131.1361701-2-wenst@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240829085131.1361701-1-wenst@chromium.org> References: <20240829085131.1361701-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_015151_582754_DFAED03D X-CRM114-Status: GOOD ( 13.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org kernel-doc complains that _regulator_check_status_enabled() is missing a short description. Since the current description is already quite short, just trim it a bit more and use it as the short description. Fixes: f7d7ad42a9dc ("regulator: Allow regulators to verify enabled during enable()") Signed-off-by: Chen-Yu Tsai --- Changes since v1: none --- drivers/regulator/core.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 9029de5395ee..763048d6f1ed 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -2707,10 +2707,8 @@ static void _regulator_delay_helper(unsigned int delay) } /** - * _regulator_check_status_enabled - * - * A helper function to check if the regulator status can be interpreted - * as 'regulator is enabled'. + * _regulator_check_status_enabled - check if regulator status can be + * interpreted as "regulator is enabled" * @rdev: the regulator device to check * * Return: