From patchwork Thu Jun 25 16:36:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11625713 Return-Path: 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 E23F6912 for ; Thu, 25 Jun 2020 16:39:01 +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 B9A1B20836 for ; Thu, 25 Jun 2020 16:39:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SjvWIwpp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="U8Vp/tCR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B9A1B20836 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=GmK8zFzPj2weD7+NrvFjM7o6glDhx/bxFTScHiHYIac=; b=SjvWIwppjzOP+9q8bcyCEZimB /owWRHj+7lIBdraccGQx4yO17JRG2d/ACozE7AJjZNehSip+xnQgNz17Kd06FZk7Sgp+DnIanndqW uJgImV7NcaIGA5M3ZUXNkbn7Xz32ktEvD3eKsiUbrn7NZRFNIEoIIM1hpPOh4jsnkDoqLId1iPB5W bEOCS+X9UR6GBccQhhWz6FDf4CqvBakyFngvSNa3a8Ac1CRgRaLOpEtXd2+r4hEBmUzJ/ntx/LlOt cobMgE8+CtoIxzLCvmxgWGgLFwb11TJfGvNLl51n8MMeYOJHwnW9W1Vd9X6w16HJrQUdp5m/dlqT4 ojM275t5A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1joUs1-0006Ix-8U; Thu, 25 Jun 2020 16:37:01 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1joUrS-00066I-OY for linux-arm-kernel@lists.infradead.org; Thu, 25 Jun 2020 16:36:27 +0000 Received: by mail-wm1-x344.google.com with SMTP id o8so6202886wmh.4 for ; Thu, 25 Jun 2020 09:36:26 -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=wrbO6xK7EoIeO1VHH2AGpfAcceEYBEVVEFHtZyqDA5M=; b=U8Vp/tCRNrGE22Ur+Ex5s8u+LHfRLDxuxHW3gcrrdE8Jv+nrHRuUKAALGt5OLlttHH DPDgx7URr2b94n8Z26kcbCUEEISXHVx5Jtn6hs1GPjx02z5LrKGoPkAs0lFmL5b/9ZbL PL+/PHQU5LVXGL7q5yP3338Bb4AfDabXM6Tptehd6Udb5DL8b1Rl4HCE8F9dWfOrn71E l+2j7aOUVBV+vI1YZn2CSRM5bLopbMyRjHejF8l8yam53WXpcRvfa47NDTJQp2zlqPyw UTGRzS5ZHi5r0ReifVYTij7pRDXVphYFOpXWHj2KnqGwtxK0+opyS9ly+BVnfv1KXP+N Ilcg== 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=wrbO6xK7EoIeO1VHH2AGpfAcceEYBEVVEFHtZyqDA5M=; b=R7KARZMDS1L4qw8qnfipFfkJ4xYQysALmlWSO9a9tlCHvFjXI1jCFDK5J9ZxWY4LqC mGQtKYJ9aH/lCX+FLmf1Jp6NKmc8R+sGfLvlo8UACa1hXg1Xx0CDrOSrjily6TXoMG6v kAPiSkAwAXap+NnaVw5Eb0UkMZpGALHHtK2VkMvSgWZAhyc1FzO+1H6H4TzLV8knaCjy iEPb/Y6YWXAb2myQBePH1jtKkJrS0uL9rFuTgcIXkGcDIwW1YIThMla4TwBYWVBXKKB9 0sYRY2kq69QhBLCBm2mDYWE01Pkjl6HDHNkMYEi4v1vvgGkmvafZ+ku1orBTds7hnsem vpIw== X-Gm-Message-State: AOAM530gMAQ/lG8kQG8pahLtDeTk/soU4uL9GiWQVq91tcLdbeLnzb7e bepmq3gJpKN4erStUclBwnRQDA== X-Google-Smtp-Source: ABdhPJxD4VwwV7Ih+k7y/dG2h+HNygvu6V2v3Ta2fHsyVCBjxkCJcMJuTTKrkF/oSmDZGfw5o2P2Bw== X-Received: by 2002:a1c:c908:: with SMTP id f8mr4307260wmb.150.1593102985745; Thu, 25 Jun 2020 09:36:25 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id a15sm36729089wrh.54.2020.06.25.09.36.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 09:36:25 -0700 (PDT) From: Lee Jones To: lgirdwood@gmail.com, broonie@kernel.org Subject: [PATCH 02/10] regulator: devres: Fix issues with kerneldoc headers Date: Thu, 25 Jun 2020 17:36:06 +0100 Message-Id: <20200625163614.4001403-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625163614.4001403-1-lee.jones@linaro.org> References: <20200625163614.4001403-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:344 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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 --- drivers/regulator/devres.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/devres.c b/drivers/regulator/devres.c index 3ea1c170f8402..d59009d07a57e 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 for regulator "consumer" * @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 for regulator "consumer" + * @rdev: regulator to free * * Unregister a regulator registered with devm_regulator_register(). * Normally this function will not need to be called and the resource