From patchwork Tue Aug 27 09:55:47 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: 13779291 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 0DEFFC52D6F for ; Tue, 27 Aug 2024 10:03:40 +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=QWF2y1DaAfCI+OxvAbtfW9C6juMvoH4TVoXic04e7PQ=; b=MRRHQAhEjkJAYdWerSL8BbK4oa IsEnsVJAviA9bJHLZczfp9gyaSnTVX+2rmMWZt7CvltcBx6YrvhiP1kylGrrf8szcIpbIA7qGZZa4 EZ+3roSuW5MawxTRKwb6L+iW6SE6opNh3xbz1uXFovrej/58xkh2KyWKi1V6pum0vB564wkokGxTV ZomzRv4XV4ZSAmyBbAnGpA0l9OjrKMybCgF2/Xe3Z/51IK8s4omRUOvgslTc6p4je0t876DQ5/6Lx E8YoPJo+9dt8derfLyQ2+EKH8U4GHx1wC0yRlFSYMU9Dk/seYoB1TFN/7Cai1eMVTkZvOxRNCNPJH 5zpwtkZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sit2x-0000000Aiv6-1jVH; Tue, 27 Aug 2024 10:03:31 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sisvs-0000000AgbC-2heM for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 09:56:14 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-201cd78c6a3so36285075ad.1 for ; Tue, 27 Aug 2024 02:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724752571; x=1725357371; 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=QWF2y1DaAfCI+OxvAbtfW9C6juMvoH4TVoXic04e7PQ=; b=HmV7xdBTjkt/62FW96xJ9wC968TV6CzWA+XPipfv111ADL3p032Pwy7wxgRK73aDrw XQ3/ClKU6CcrUCmpMOnsC0O+WJtXEteZtxnMVNlRe9VoCUmctosFSRBEJHwerQQNQhAv cVAmi/l4FYDc1F5FHGt9eUdovR+vPEHB/K+NQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724752571; x=1725357371; 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=QWF2y1DaAfCI+OxvAbtfW9C6juMvoH4TVoXic04e7PQ=; b=HCrvccu8f+gXsP6ncdKX3NAxnk+vGv0MVUONl+X8vWmSJE1eiCP9JJgSScL+v33OJD xxt0k+NVF/2Q8OF2X4XX9GWh54YRtQZQ7yHIVM928qQF54fspPF9teR/s0R+VsFLIypk jnlFhpgvuNPGqJnb8qy1ZyVbuXxx2P2HQotlDUb8U8IMv+fXJMZNLzl2yYxyMvEoych7 Nv+1DZMdz/SubiYtx/X21HrSlDClilWS9Yqi/uV/VFLP49B6n0/WZ4868W2/l5FJQ0mQ GBia/kavGejy1FsHl4u7KVFzpRWhWLnXToyNo0ugjYvZeMyVMOSIa2jz64KclRu2SwZ1 c3yg== X-Forwarded-Encrypted: i=1; AJvYcCUicIeiJNCP2f+KkVflpIdb+lmQuVPcrlJGgA5xdsFiBvqQCzvANB7Yt4DAjVtuPnGm85HMRrG2iVy590J0FRXc@lists.infradead.org X-Gm-Message-State: AOJu0YxzB9qqrGMGc43+nU8hkBgSgM854dWOh5jlA+YwxhUqNti+NF55 LPiW5pdiN/6uNrKmVAJ+CblpE1VHjWDgKWoBm46Psk2yvzGww73Q5SVzjTID9Q== X-Google-Smtp-Source: AGHT+IG1bfKL3An8XqshnrBPErEA+/k/utDPS4gPGGdrb8g9f7KtjCgE/tEqVtdEn/QXw5TVbNEMPg== X-Received: by 2002:a17:903:bcd:b0:203:a12e:faa7 with SMTP id d9443c01a7336-204df45fdafmr21313875ad.27.1724752570967; Tue, 27 Aug 2024 02:56:10 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:3102:657e:87f4:c646]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2038560c2basm80006775ad.222.2024.08.27.02.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2024 02:56:10 -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 7/8] regulator: fixed-helper: Add missing "Return" kerneldoc section Date: Tue, 27 Aug 2024 17:55:47 +0800 Message-ID: <20240827095550.675018-8-wenst@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240827095550.675018-1-wenst@chromium.org> References: <20240827095550.675018-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_025612_704048_1A402830 X-CRM114-Status: GOOD ( 12.38 ) 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 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 --- drivers/regulator/fixed-helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c index 2d5a42b2b3d8..72807af63126 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 alloc fails. */ struct platform_device *regulator_register_always_on(int id, const char *name, struct regulator_consumer_supply *supplies, int num_supplies, int uv)