Message ID | 20240829085131.1361701-8-wenst@chromium.org (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 EDD87C83010 for <linux-arm-kernel@archiver.kernel.org>; Thu, 29 Aug 2024 09:02:19 +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=SH5i9APy7hcIZsD71Cy0fPlXqstfyKV2jYdTC5JW2L8=; b=uDwlzsEbvt0wfeW2Sm3Q3MC1tG n3GWKowyuEzYIgsUXsmbCHFM47zMUSgwoFwceXxgYdkIWIF8TEcXTtZPZ7I/FbUuWSwbyIe6dW8u+ y6h46GakrDIVdiOMY5K7ik5Opm2yrzd48yugbmyiGULVjWVSnGC0zKdRhAts3ejkq1eqh+PY8ySmm RUvZPW5Zd5ZrDB/0XewtIv58xC8zqeCGo3O7AuSuoqL6tDLQpZHoJXlcJLYXWiz8MHWW8VMpATNso eUAITIZCxKHrGry/fDRCHogyLOprqPdl7fXFMTqg4PnMj93C5y09j7K0TsN15SZMXPUEnZy2YLxiR rUT/Xr8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjb2c-00000001GMY-173e; Thu, 29 Aug 2024 09:02:06 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjasu-00000001Dt3-1VWX for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 08:52:05 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-20231aa8908so3096105ad.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 29 Aug 2024 01:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724921523; x=1725526323; 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=SH5i9APy7hcIZsD71Cy0fPlXqstfyKV2jYdTC5JW2L8=; b=K86o9kD9oPniAxcWtNz5e319yDULhuijC9fYatGFvUu8tPKhzvGo3T3LWiAPIBgys0 TqNDtyoWBDrEWtoUduhwtex5GbFV/h+AN55twuA8XnrpbSklduSyaIcX/8coS/CPr+Ys Y7TTw5jo2Io7IgRItFPBSQeYB1XY3YR2vPU5Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724921523; x=1725526323; 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=SH5i9APy7hcIZsD71Cy0fPlXqstfyKV2jYdTC5JW2L8=; b=w02//7RhKlxC0uAcLtZjOQ6NUpURgB27jgPzWggrRSPcsKdLyqAxOG+w4ILgVde1X1 acAyuT7tLuUA5L96r11fYabfxoHYB/21wwZ55Vs5gWX/w4nw2RZv/sqPf7suHZlHpl2l zLH1/Lx1GcJvKKhnBE+1ituzvnUci8oO06az82Rn+xDNIek2kxz6pCupZFV7C52UeR5f L0ez6nvfys6CQxQODYBAOLZgM0oK3b46NQXfjChlZGvXKNa6jJOLCtNSWv5OQi5aMaU/ 2boAjBLABC6vsdQZ9SmK3d2UNwvM9+BSZ73tKMBgxNSyhiG3c+9yrH0HYr828ZGsJy4b 6OwQ== X-Forwarded-Encrypted: i=1; AJvYcCW+jWEISgs57ThhubClPhYouxRiVqww+WUIK/paZylC1SS4TWgRN7G31m9Hn6wTUk6oWjJZs3f15YWAixuAQ2vE@lists.infradead.org X-Gm-Message-State: AOJu0YzP45zCqc1zTK5aRRji6YFojYL/vbzdmGPuxn6/Ax+bKvgKyT9w 0fb0GsrFYqm1eL8mdHEyjhBuwSiHcUqgqeRKZkPfM3ghFAh7MRZHqW2/zg7xkxKeJznlKfln+QI = X-Google-Smtp-Source: AGHT+IGvMUAJLJKTXy1U/I9Oz2SRJocUKAPqs8ZLqPE3NaF6A1+zA4ieje9ST+i37tUB7r8buTiUFA== X-Received: by 2002:a17:902:f648:b0:1fb:4f8f:f212 with SMTP id d9443c01a7336-2050c4e89a1mr24399925ad.60.1724921523557; Thu, 29 Aug 2024 01:52:03 -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.52.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 01:52:03 -0700 (PDT) From: Chen-Yu Tsai <wenst@chromium.org> To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com> Cc: Chen-Yu Tsai <wenst@chromium.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [PATCH v2 07/10] regulator: fixed-helper: Add missing "Return" kerneldoc section Date: Thu, 29 Aug 2024 16:51:27 +0800 Message-ID: <20240829085131.1361701-8-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 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_015204_416510_408ADD19 X-CRM114-Status: GOOD ( 12.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
regulator: kerneldoc section fixes
|
expand
|
diff --git a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c index 2d5a42b2b3d8..b6cb0aaac3b1 100644 --- a/drivers/regulator/fixed-helper.c +++ b/drivers/regulator/fixed-helper.c @@ -26,6 +26,8 @@ static void regulator_fixed_release(struct device *dev) * @supplies: consumers for this regulator * @num_supplies: number of consumers * @uv: voltage in microvolts + * + * Return: Pointer to registered platform device, or %NULL if memory allocation fails. */ struct platform_device *regulator_register_always_on(int id, const char *name, struct regulator_consumer_supply *supplies, int num_supplies, int uv)
kernel-doc complains about missing "Return" section for the function regulator_register_always_on(). Add a "Return" section for it based on its behavior. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> --- Changes since v1: - Capitalized first word of first sentence in "Return" section - Added articles ("the", "a") to the description based on surrounding and function implementation context - s/alloc/allocation/ --- drivers/regulator/fixed-helper.c | 2 ++ 1 file changed, 2 insertions(+)