Message ID | 20200625191708.4014533-3-lee.jones@linaro.org (mailing list archive) |
---|---|
State | Mainlined |
Commit | 9565cccd64876dd1f8732fad3a04f8daa41fcef9 |
Headers | show
Return-Path: <SRS0=pbEX=AH=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 70CB21392 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Jun 2020 12:13:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2976A20775 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Jun 2020 12:13:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gr6NT1XL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BoLnBkwq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2976A20775 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Fq8OdAo2DIuoJtw2mHe+22XOsAFVmR0H0Y5D8/aOimE=; b=gr6NT1XLWk6S9stnGF5aR1BSl HhevVYn9QfKILG2x+O5x6ipG0IAyb1SU/vdAVNDR12QLZpR6geOQqy5hOjcOW4YtVBE2CJqjWPAL+ po5mTCi6hzjaGVXO66FydDE6JVglG/Z1ahmkFywtgplJ3wqH6dBgtPsvYPl5SWHnAewyQC7yD0kyA 0VcdoBP2hxqPGkBOmE+88XwVHPJe9hDboaivK2SryOtLA1EBDoZAawMHBAJL5UgPe3r4v616d1ieS mfDwqUtW+mmB5Ybg3VECw+Rgrr8N02SBOPvOMK//5XrgIChx4sC1IYuTEEGIcZYEZ7Eb7OUGMBfN9 pq1DMnV7g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jonBv-0006H6-Qm; Fri, 26 Jun 2020 12:10:47 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jomgw-00083v-Ij for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 11:38:54 +0000 Received: by mail-wr1-x443.google.com with SMTP id g18so9220997wrm.2 for <linux-arm-kernel@lists.infradead.org>; Fri, 26 Jun 2020 04:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o1XJQv3xdST2ri9dQSPRqTi+utLoroqVOFsqThWptWg=; b=BoLnBkwqv59Kv2JXYWfehBShW2dawYLjjfGT83f2LDKPJ9DgeFbYuYiBm6hc1IninT NM9ehe+OWD5qfZiGF1uCZ9zhVMIMIyI5CnwksIQFJZV6Pbw5GBXKCGQVq/sv6WhYD/C0 bQXZOeTzc7Jzg8nOMOU3Rih1rtIpcJL8Z+xtAw0oodBjpYyJOEB40dl73dwhB8AZa5kY lwv5HZCL81ivLPF8dLnO7OgYWsxtDGdFTuN8lvKVuBb0Ts6cv7B2a7sfnpuxG4qqktkD 0+yBMZMag2MBjMaz6Pscwv1+3auLTu8n05bYIQz6+DgEl9C+19kfCrxi3gTSXcsYHul1 KQXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o1XJQv3xdST2ri9dQSPRqTi+utLoroqVOFsqThWptWg=; b=U570l6sck9Ax3KdN+NBc03lYYx/SxkRIbnVDRJW9WYVVbUp4sjriHkXzU7UwHfybPa jcjuokZi501ZY7NsIPmDMwOcwgSGGfbYCdb27uKCiZ7bwaBTCfPVgqDNzZDig7dUXFzk fwzQ7RONEUjA46MW8GA7tMQmDbmUFeRj+8sXay8FrEovudalCS69TkVSVyIOgYNqkaYt x86JCLgqR1QtJb+LIBeE1DSot9MON67nUaSLmnOcjrUKHuLCwrC/ssHVt2p72RbbwQz0 iv19ycR1tZNXe9iStebQBvHgWPuGv+XNOWxUduc9KH/alnJY2wWr79apgzrR83zsfU1U TqMw== X-Gm-Message-State: AOAM532xB4XMFNe8tf/8x+uopWwgaP1xkKsfsWfWHxcOj8Ox7BqoZZA+ v5q16FOVUhnZpdKXcxfZTYdh+5PfCJxB1Q== X-Google-Smtp-Source: ABdhPJxtSqoSA4WAktcHqgHNSJc/uRopu59O8Pv32mWtJTYz7hbM01rHb3X/SSRuT+mhPP39eykD8A== X-Received: by 2002:adf:84e2:: with SMTP id 89mr34557885wrg.139.1593112635636; Thu, 25 Jun 2020 12:17:15 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id p13sm22693983wrn.0.2020.06.25.12.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 12:17:15 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lgirdwood@gmail.com, broonie@kernel.org Subject: [RESEND 02/10] regulator: devres: Fix issues with kerneldoc headers Date: Thu, 25 Jun 2020 20:17:00 +0100 Message-Id: <20200625191708.4014533-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625191708.4014533-1-lee.jones@linaro.org> References: <20200625191708.4014533-1-lee.jones@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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> Cc: Lee Jones <lee.jones@linaro.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
Fix a bunch of W=1 warnings in Regulator
|
expand
|
diff --git a/drivers/regulator/devres.c b/drivers/regulator/devres.c index 3ea1c170f8402..3f73ce8590007 100644 --- a/drivers/regulator/devres.c +++ b/drivers/regulator/devres.c @@ -173,6 +173,7 @@ static void devm_rdev_release(struct device *dev, void *res) /** * devm_regulator_register - Resource managed regulator_register() + * @dev: device to supply * @regulator_desc: regulator to register * @config: runtime configuration for regulator * @@ -216,7 +217,8 @@ static int devm_rdev_match(struct device *dev, void *res, void *data) /** * devm_regulator_unregister - Resource managed regulator_unregister() - * @regulator: regulator to free + * @dev: device to supply + * @rdev: regulator to free * * Unregister a regulator registered with devm_regulator_register(). * Normally this function will not need to be called and the resource
Provide descriptions for some missing function args and rename others to match the names used. Fixes the following W=1 warning(s): drivers/regulator/devres.c:187: warning: Function parameter or member 'dev' not described in 'devm_regulator_register' drivers/regulator/devres.c:226: warning: Function parameter or member 'dev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Function parameter or member 'rdev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Excess function parameter 'regulator' description in 'devm_regulator_unregister' Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/regulator/devres.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)