From patchwork Thu Jun 25 06:46:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11624661 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 89D3114F6 for ; Thu, 25 Jun 2020 06:48:18 +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 60249207E8 for ; Thu, 25 Jun 2020 06:48:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fF7xYw6P"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BCmUEtT5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60249207E8 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=RguBU1VEu5vyCbqmiIxYxrwibAfRJLS3CxCbcS7j8nE=; b=fF7xYw6P7uFniPQLCsDDgAonv UNRfuII52QEN0rc5jsjhZ1yTqT28MKeW3fcD5WbvwA0BMZBlkNciFHJv52dWq66RQLJzDE88aiw2h JcSFEroqE/70NHUQ78bGopKXMgV/JU3JRHCcVspd7/50gH5G19xrhywuewv7J7XfzWzTPU8u+QC5C wffNtYJrsRuQ39cBzk2fX/U5v5h14vgKgalqRNvoueZxmaXjJ64/d0641lDJ2AZSgWQ/UuEUELSkG FdGI1BTO+9RZ98XIosWTPjZX2GEQwfmSLBb5D8EC6eixHA6OWAbz2/k4/KT5hOdSiXxEpinwQGq9g 1vF2rCKMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1joLeX-000055-4i; Thu, 25 Jun 2020 06:46:29 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1joLeT-0008Ur-2c for linux-arm-kernel@lists.infradead.org; Thu, 25 Jun 2020 06:46:25 +0000 Received: by mail-wr1-x441.google.com with SMTP id g18so4626448wrm.2 for ; Wed, 24 Jun 2020 23:46:24 -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=L7/cDxvGdffp0R1d8Bbrv1z7a+JwOkzEK0KwjgT2NxE=; b=BCmUEtT5UTfVuC8CblpswRBGT7MKphCIGdncmeha98yeFZF1RxkE4l+xGv/tGqHYum OA7y8Haiw+RQimK4Bda7ht6soHr43nbRuSKpQJKow84aunLep803VCuEqWLD4Pw5JD0X 96eXzyQsx45dx26MXUnpGnDy3jpxvAk/wDI/hOHxeUYKXagFUmKRFRU2OagSbsHl0qGt 3hqH62/Q/B/G57ZQng+i5vaGJeaL08Uf6dM6WYvSIGm4WjFfLQhGVxxCjI7i1u91A4xL YpMRNTBntLVloYGvv2ibyEIZ80NwV+J19HiToZeKVO4vSmFhN16plNct104f+WeRmk81 jkJQ== 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=L7/cDxvGdffp0R1d8Bbrv1z7a+JwOkzEK0KwjgT2NxE=; b=QVmDmUV2aRfmZbIUNu6akcMUIBkX13KpzJXS+Ud7LhpiMzkzOG7YxEPfhjnbnQd8QY b8otX/Rf3rrrJ1rYG/IxQ6X5kOAuG6jExyv99SzyyB3WKCQV9t2Ez82BiMNX8ZHPNYZA G1/B2dZkJcgyHJF+Th8MuA1+IBrXjim+HP6+rJkT3uyma/UpVjTBln42cvJXcc7K6qzL xbjjT5zdwNOoIDQm5wH58+PzdqPWYSPRoQ5Kjj07uwXjCAGK+yk71RrICfVD5G55xiEz SU0YdVonYcepUzX+2PrqxP929nvfObl0LXtEHiksY6dVrk+gW6aWfEzd7ujbgyeghySS Y9Tw== X-Gm-Message-State: AOAM533WGI4m63qMbTvjnUGnk+pPbcWDpR0Y5eIBDtg9S0Z/f7R+l77t STPCLBUWlXjRmaf/1s+2rmM1bg== X-Google-Smtp-Source: ABdhPJwYRYFfBlmw34OzXGBG+xQkUxeApPE1s2gVR8CHohOClUiwjOu3so0VAMYdMW4pAEGmwpbrDQ== X-Received: by 2002:adf:8b18:: with SMTP id n24mr37002049wra.372.1593067583753; Wed, 24 Jun 2020 23:46:23 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id c20sm27235363wrb.65.2020.06.24.23.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 23:46:23 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/10] mfd: wm8350-core: Supply description wm8350_reg_{un}lock args Date: Thu, 25 Jun 2020 07:46:10 +0100 Message-Id: <20200625064619.2775707-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625064619.2775707-1-lee.jones@linaro.org> References: <20200625064619.2775707-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:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 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: stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@opensource.cirrus.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc syntax is used, but not complete. Descriptions required. Prevents warnings like: drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock' drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock' Cc: Cc: patches@opensource.cirrus.com Signed-off-by: Lee Jones --- drivers/mfd/wm8350-core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c index 42b16503e6cd1..fbc77b218215c 100644 --- a/drivers/mfd/wm8350-core.c +++ b/drivers/mfd/wm8350-core.c @@ -131,6 +131,8 @@ EXPORT_SYMBOL_GPL(wm8350_block_write); * The WM8350 has a hardware lock which can be used to prevent writes to * some registers (generally those which can cause particularly serious * problems if misused). This function enables that lock. + * + * @wm8350: pointer to local driver data structure */ int wm8350_reg_lock(struct wm8350 *wm8350) { @@ -160,6 +162,8 @@ EXPORT_SYMBOL_GPL(wm8350_reg_lock); * problems if misused). This function disables that lock so updates * can be performed. For maximum safety this should be done only when * required. + * + * @wm8350: pointer to local driver data structure */ int wm8350_reg_unlock(struct wm8350 *wm8350) {