From patchwork Tue Aug 27 09:55:46 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: 13779224 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 8E920C52D6F for ; Tue, 27 Aug 2024 10:02:57 +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=/kEjsRoTrc9YEAoIm4fI2W5J5jFppY9yqOw4qUfYcYc=; b=qDMoZ7eyWwGYrF66yuDsOcs9Xk BofZ3gSdlE2181OhUccGd1e4T8B+60KaYOqaf3XwjQ3OaCVKwmsSEsIK1l5VY3yZCKK5JPTpgs6EG cFwOYWVCjoKm07lbvrjO3IfmspEYHZqFy+NTgJ35m2y/DSXJiVdtS0iWhaHrkZP18BsxEWxzHiWAQ ukO9R3jxpF5gOTFcMVFqyDMvXe33PucJyEH98K8GpdPdxyNMQ/dVsHS7zn1Z0Aybx6WMRHRm8ocrQ ZSZDravasT6yXY10+2OcHS7ix76VpMM7P6GY5iDemyZJR6eQ5fLNu91Un2wzHunoekH3G4M3aj1XN 0rDv5n0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sit2A-0000000AidZ-1ymx; Tue, 27 Aug 2024 10:02:42 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sisvq-0000000AgaZ-2xQ5 for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 09:56:12 +0000 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-7cd835872ceso3594461a12.3 for ; Tue, 27 Aug 2024 02:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724752569; x=1725357369; 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=/kEjsRoTrc9YEAoIm4fI2W5J5jFppY9yqOw4qUfYcYc=; b=UhXnpWikSEMYfjVav5v+fyGtQOrn5BvBrxrZG2vj7LZSMWiUbRiBC2/fKf8zVnuRMA J8g3K8G4L7fqhBJaS3mzX7VdbE/9wECrpBMJNQz2fy36WTDiO9RF5P0GZdWk/31FEuuT sIdDkJ6M+w3mGzt1YfbJ7wKNub5nKUuSiDrRM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724752569; x=1725357369; 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=/kEjsRoTrc9YEAoIm4fI2W5J5jFppY9yqOw4qUfYcYc=; b=PqwoVaYe/mcFvX+i64lDYZmEb2tgUM8yfVIn5a/TmlLwVQCMjboePxfSR985QaeNlJ lWQwdMEF3tffyW7smbEE0DurFZeKbLPOItpL19yVjQ6//6JCum7GSKIQiXtsHMCZVok/ wjizcfuElUjUKM7Z+MTvU+DxLrw0V/XYorIXWF4Y0BY4Bk5GG/SqRiWETVJf30Kq7Saj ZK6P5Qr6Qn1jGQMtzkJmohLN2sW5RK+xWD6dIUbNZU5ZU+hMW62JJj1Kf1Dn/hLkiPMV RmNis4/3XakSd2ZFcIqOlhAriqG1Dk2jPkUHDj2229LzzBzQKCAWZo03nvW+Nk1yH9IB UmXw== X-Forwarded-Encrypted: i=1; AJvYcCV/94pqOmFe/9utbhll6IAGoMEExctj47dM0ftqc7GUszV/QmD3MZ59XJkFtEwI9DP4Q2CkPXVhesckCFPjPMbB@lists.infradead.org X-Gm-Message-State: AOJu0YweeANijIySDyUVoJ0+nvv9pbjOE6quPeqBPdDDV3+Zmxr+Jbx2 7KUc8S2KvdnD+4w5rATjODHo95HGTG/dbqAr0qRXzCAD/AnPOw7dEScJYh2zzg== X-Google-Smtp-Source: AGHT+IEkDjIQuJoQ6kCa98vVLTWPO/VYtGd1/XSnCdwwHvl9WI+e65ZCQr6Z5uPOx+2prdu3WCvVxQ== X-Received: by 2002:a05:6a21:33a9:b0:1cc:c2d5:f9aa with SMTP id adf61e73a8af0-1ccc2d5fa66mr1778594637.4.1724752569071; Tue, 27 Aug 2024 02:56:09 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2024 02:56:08 -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 6/8] regulator: fixed: Fix incorrectly formatted kerneldoc "Return" section Date: Tue, 27 Aug 2024 17:55:46 +0800 Message-ID: <20240827095550.675018-7-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_025610_764440_67AEB099 X-CRM114-Status: GOOD ( 13.65 ) 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 kerneldoc of of_get_fixed_voltage_config(). The kerneldoc has a description about the return values, just not in the format kernel-doc wants. Convert it to use the proper "Return:" section header. The existing description have been reworded and moved around to fit the grammar and formatting. Signed-off-by: Chen-Yu Tsai --- drivers/regulator/fixed.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index cb93e5cdcfa9..1629aa525ef2 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -158,8 +158,10 @@ static int reg_fixed_get_irqs(struct device *dev, * @desc: regulator description * * Populates fixed_voltage_config structure by extracting data from device - * tree node, returns a pointer to the populated structure of NULL if memory - * alloc fails. + * tree node. + * + * Return: pointer to populated &struct fixed_voltage_config or %NULL if + * memory alloc fails. */ static struct fixed_voltage_config * of_get_fixed_voltage_config(struct device *dev,