Message ID | 20230113064421.11986-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp122895wrt; Thu, 12 Jan 2023 23:00:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXvVBQ+wFwonFle+pWDy6qLujh3lxyP7Y0vsFrM+/T9qD6fjBBg/rdRVKYBeJA6jfbnVr668 X-Received: by 2002:a05:6402:d55:b0:499:c294:77b6 with SMTP id ec21-20020a0564020d5500b00499c29477b6mr11728952edb.9.1673593241367; Thu, 12 Jan 2023 23:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673593241; cv=none; d=google.com; s=arc-20160816; b=iik70BT/HRplfu76dZ4P6u+BrCFoFxjpa6c5EaSWFvBKmHEs8msOzetZ7ol0z1bcaz 1vO5ezSuiV9dlzJb4YNZ+uI+tl0VgWcoMQ0g/1pyCaaAAOuJFY89HeU+iCp+JDIPXLGU jyxUd34rKrfruQrEQKwMkc87AyT4Dsw/1vQeUoaFHRn4frO7oCMWut0qAdRDAeevnOLt z9PJF09EoE0ssxlUMpWnlpTKGK85ZvdmaimFsAqeOPznS8yzCi7ivZpBX3HcfSpAI3X6 XFg2XJN89HH905ReMRUcNQh4/mBO31tUDpdKPeU3eLliKQSyWf4sDBOM3uJJPz+xEoRe LVSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OYErp9cwiDlOFIrBQwCTSkpcQkF/bRlYz/F0lK7TdgM=; b=mtxbJp/42He3DrOkXuVeIPjrwMEyAMWay4c48b/gBSIv2tZU+Gqx2txi0fPkeEtUW+ vx6PESDlxXpnND/rWnXpLQJ/mB/1RvalOxteD+uSdvXyhWaDa69YfTQh8AATK712YRvo KmfAhlwNxEYqGAa18JfCatz6aXhQq0BtES+uZxsFbNk3InEw1mHS5T/jjZ5QIY9WhN9F bu3e08RtRPfv5Tjdz5tXob5k7Rfd1Wb8UYmR0r4X6e8NcvcTmbd5WrUGFL+eADetldc/ a9UMq4GKOnQS1lLTOn97TjZJrqxvqZJSlw2I+VUuhoa38VTQv5+JT1Dw71JqX4uhfAOU 0dvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lVVywf2t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o15-20020a509b0f000000b0046c53c2be4asi11730657edi.365.2023.01.12.23.00.17; Thu, 12 Jan 2023 23:00:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lVVywf2t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240659AbjAMG7r (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Fri, 13 Jan 2023 01:59:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbjAMG6u (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 01:58:50 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB4CD6B198 for <linux-kernel@vger.kernel.org>; Thu, 12 Jan 2023 22:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=OYErp9cwiDlOFIrBQwCTSkpcQkF/bRlYz/F0lK7TdgM=; b=lVVywf2tSABQ0wxEDCL1lvr0K0 Aer1TuBlAT4E0aHfDGvlDinDej1u5+RtJFDiqu2VbXCO5eD+XKCfP6cvE2sd73Xm2LTpnsTPImGSf 64S0pGOXmrJFymnaYL68POR4eL9L8/2nJY2qEkKBByv22JOzr1OptyOvxUkouG14WdfCbOki1Fokq /W/YXuBSDGPssvXn7A5GZhyNjBOgj1Ru55cqrSmZr+VZZQOsGWEzXoc1pnNqBnCPzF1mTM1IaMmD9 ZvbvQBlugfUhcJcTCarr+wKVJSd3DDPt+dXjjalXhMGdxN92OFYI+ZED09jkGjp0IQ1unF2Xvhm88 iwNVAZ6g==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGDna-000rt6-EJ; Fri, 13 Jan 2023 06:44:22 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org> Subject: [PATCH] regulator: fixed-helper: use the correct function name in comment Date: Thu, 12 Jan 2023 22:44:21 -0800 Message-Id: <20230113064421.11986-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754889706545243249?= X-GMAIL-MSGID: =?utf-8?q?1754889706545243249?= |
Series |
regulator: fixed-helper: use the correct function name in comment
|
|
Commit Message
Randy Dunlap
Jan. 13, 2023, 6:44 a.m. UTC
Use the correct function name and modify the function short description.
This prevents a kernel-doc warning:
drivers/regulator/fixed-helper.c:32: warning: expecting prototype for regulator_register_fixed_name(). Prototype was for regulator_register_always_on() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
---
drivers/regulator/fixed-helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 12 Jan 2023 22:44:21 -0800, Randy Dunlap wrote: > Use the correct function name and modify the function short description. > This prevents a kernel-doc warning: > > drivers/regulator/fixed-helper.c:32: warning: expecting prototype for regulator_register_fixed_name(). Prototype was for regulator_register_always_on() instead > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: fixed-helper: use the correct function name in comment commit: a508a267dda6e67d2eccbc12088a7fecc127ba90 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff -- a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c --- a/drivers/regulator/fixed-helper.c +++ b/drivers/regulator/fixed-helper.c @@ -20,7 +20,7 @@ static void regulator_fixed_release(stru } /** - * regulator_register_fixed_name - register a no-op fixed regulator + * regulator_register_always_on - register an always-on regulator with a fixed name * @id: platform device id * @name: name to be used for the regulator * @supplies: consumers for this regulator