From patchwork Wed Jun 24 15:07:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 191686 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp677009ile; Wed, 24 Jun 2020 08:07:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC7rQGgtSzOqVQCVykucybNPBw3ZJSuKLFbmhcXMWGHsHiqH+4+s47vLCda68r/dQrUVcx X-Received: by 2002:a50:cdc6:: with SMTP id h6mr26766987edj.111.1593011247240; Wed, 24 Jun 2020 08:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011247; cv=none; d=google.com; s=arc-20160816; b=jIrUwVG2rd1BFNSwBMeRApdu2dy7iMyqFRNZHyJ+irq6HrB4xhBdTC2KudLMRxJoyX /ZGjWLzGLjpRboxVGyZhRJz1UfBtVXlaiQpxjQLa0XroUd/IEULsLY5DggQ29lFIbXLg o1bKd8AtE1w8/PUBFb7FYTE045h/9O68LKQRcXtGupgKenXQvVPl2Y5DORdZRMRnA5S5 Lvk1kJZUqtKAt8R2cnAJYmzuj6aHBclHRx/Zw1QmJkwLSbcCzLECmtw7QRGwAiI4mcAr 7SyUeEzkVTSdaswj5bFF3INMddSlpn6G7Dg/1SrPXqAuGjPXOwhmggTSDgasDTXSIxDP X3yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kSPgE+bGgsMdGhCfRjJWoo3vTL9/vYYp2AF2KnCRX7A=; b=Dfy5K6Nfh34O0dZhBhWEPMLDrhRxVYkds4v0crOS1L0AYOmCPJg0Hj4iAjXtSPWDRx buTSTUx251B4FmqfDmCyOsNDBHQdKQZBFMuDu/Rkm+JFviDSIC4LwFw5RkT3aegdHJNL tWKFWePL7tPKPPeeha+fvInPyUdr/ujIIjBct7OxPTGS6ycMX2KZu4T5p1nlgV5p+5UE Pyh2Nmb8wS4d/+/vM0BADSJrXJQvghtdIAv+aOIaig3JPgs6+fPdMOYEnY+FDYVihzbA JPu5Qpo9Bbih4Vri14ZmEyAdCW1uCnR1c5khq0/jS/r+E1FFTJa/T71RRorUYbkn6Evy heqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BtZw33dN; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jp14si1292510ejb.93.2020.06.24.08.07.26; Wed, 24 Jun 2020 08:07:27 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BtZw33dN; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404284AbgFXPH0 (ORCPT + 15 others); Wed, 24 Jun 2020 11:07:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404271AbgFXPHZ (ORCPT ); Wed, 24 Jun 2020 11:07:25 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E465FC061573 for ; Wed, 24 Jun 2020 08:07:24 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id h5so2634904wrc.7 for ; Wed, 24 Jun 2020 08:07: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=kSPgE+bGgsMdGhCfRjJWoo3vTL9/vYYp2AF2KnCRX7A=; b=BtZw33dNk6XR2atGnsBkwFUuIxaaSCIFGdnyixfM0UlnYDV3zzT6lb6+aa5UD58UCe tElHor7dZl5GsAKmFmBg3dY+AfhyaoGNRDv2IttT/kiYEg0K6OEVNIX2BjsVMyL6D1Vh pl74LjR7qUunaQwqNmFvpQ8M5npMEODYp/0U4aA7dzfTv0oXX9GuIPNlYKwdGJulKZNC xK911HEq5deWXhRuEJqGaat8+7llFxgHSGLbdqhi18VSQhB6s0rrfYtB0yK78ppQSKlp 1mdd1eqdW9hbgOZwIWTNEFDWEsKFNNT8+oTEHAvTj92jtOvOonh5b99Z7mXBqFc9znrQ 7Bow== 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=kSPgE+bGgsMdGhCfRjJWoo3vTL9/vYYp2AF2KnCRX7A=; b=i0MgcHNSRyPydv/z60a0/j/6hFBAakL5kR/5uHvUvRcGoRg+kJEvvjH/0iUgz9MqWZ BtdMHw3PMMQlLRQNgUB9Aya53PDSxQxdw5kJdhDhNjhW9y3xM9Q5YgJ+oZkM7JdyJIQY QVoPeyD5fYHq3q2bt0H1a8wU4deXRtI3eyfWSNIv7BD1QFrF2OrglWZKp+Tur7pl5B9H Xm11SjZUkOk/MGSdSPWFN0niVkMd2obvX7t7lOzVFNEhGdyw9LyEVWoIcnpkRp/c08K/ c41XWDXuHXY/SWylAAgFBQd98HrQrDENbYYZDXoQ5aT5fyx4F4FB1DmeZ20WDB7bFkGa V+oA== X-Gm-Message-State: AOAM531GFELmFZXn8DEI9iYC3CfNguAyFNgV4yvnClPGzBZ5xnDZ2JmE 4VQghZsU8Dp3Gpf9+qDKjqcI7A== X-Received: by 2002:adf:ff90:: with SMTP id j16mr17817455wrr.364.1593011243632; Wed, 24 Jun 2020 08:07:23 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id h14sm11543361wrt.36.2020.06.24.08.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:07:23 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mark Brown , patches@opensource.cirrus.com Subject: [PATCH 10/10] mfd: wm831x-core: Supply description wm831x_reg_{un}lock args Date: Wed, 24 Jun 2020 16:07:04 +0100 Message-Id: <20200624150704.2729736-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200624150704.2729736-1-lee.jones@linaro.org> References: <20200624150704.2729736-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Kerneldoc syntax is used, but not complete. Descriptions required. Prevents warnings like: drivers/mfd/wm831x-core.c:119: warning: Function parameter or member 'wm831x' not described in 'wm831x_reg_lock' drivers/mfd/wm831x-core.c:145: warning: Function parameter or member 'wm831x' not described in 'wm831x_reg_unlock' Cc: Cc: Mark Brown Cc: patches@opensource.cirrus.com Signed-off-by: Lee Jones --- drivers/mfd/wm831x-core.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.1 Acked-by: Charles Keepax diff --git a/drivers/mfd/wm831x-core.c b/drivers/mfd/wm831x-core.c index 02f879b23d9f6..b0344e5353e4f 100644 --- a/drivers/mfd/wm831x-core.c +++ b/drivers/mfd/wm831x-core.c @@ -114,6 +114,8 @@ static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) * The WM831x has a user key preventing writes to particularly * critical registers. This function locks those registers, * allowing writes to them. + * + * @wm831x: pointer to local driver data structure */ void wm831x_reg_lock(struct wm831x *wm831x) { @@ -140,6 +142,8 @@ EXPORT_SYMBOL_GPL(wm831x_reg_lock); * The WM831x has a user key preventing writes to particularly * critical registers. This function locks those registers, * preventing spurious writes. + * + * @wm831x: pointer to local driver data structure */ int wm831x_reg_unlock(struct wm831x *wm831x) {