Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp656582ybt; Wed, 24 Jun 2020 08:08:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXcB+hEQMbwJ3zUMTA6twdfhef++ccgvykZAqGTbDpRSOU7OcWO39tthlBJx9HlU+fzCji X-Received: by 2002:a17:906:c2d0:: with SMTP id ch16mr7847707ejb.414.1593011308562; Wed, 24 Jun 2020 08:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011308; cv=none; d=google.com; s=arc-20160816; b=V8CuVUdCFYQICmgdW6OEnVswRpjdo4S45b37uBKNlfzVYeIyn6jrvEDBRQmFZ3MKWp ZbzLjaYpv5m81tp7b9wkZKxQwlEIpgdsBalmNUHIzbzA8USTwxp20Fe1yaUFRtnZ3zS8 aTcjfyBswuYvgJ+TrU3aIKCtCgcp76EoDqwF3EuVGVJ4ws64I5zTYaKyQAnZjGKRddqK OCGIbOXOLzs5BiT6/1vO/FbvwQ/1tQir8UW21oHlD4VoBKjap66n047DzefhU8HIorJw rdQIlph5NrdW5Bh/SO1HKzq4L8Qclw1wJPf3oDniQdlN0igA+BGBzCztgkASybTy9wex MJTw== 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=USPBY1hvCB05Kg6GXn2DPcHop9jmqC1xPmljqrbqKJA6uLZD1wAekvKa4D4bAmH7X2 7dQbRlE8Lrsk0BzsR9wHMAjaccDeX2goswzK0HVobnLi69jnTre7obSEdkb9IIIVVxsn SnZ73vvs0EUMfukHATYvLpg22dLqwusVi1qenewV0aLydgq+V+X+BgrdLk3lgoA8exrU tugBEuHEUnZ/Kj7JN967wHeMpn7ZfH3uPHoNJzAKIO3peoNbsQuM7ITnDeVm4SBWzMg9 KLMOHQSPpVxYULcvH43X6QkTdcXT5Y5k3Dr6VNzwmuyfPALpBrWSH/PQ7gHrHLaioTLu hlpQ== 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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 cx26si8534807edb.241.2020.06.24.08.08.05; Wed, 24 Jun 2020 08:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S2404355AbgFXPHd (ORCPT + 99 others); Wed, 24 Jun 2020 11:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404276AbgFXPHZ (ORCPT ); Wed, 24 Jun 2020 11:07:25 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBF57C061795 for ; Wed, 24 Jun 2020 08:07:24 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id h15so2631361wrq.8 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=iB8fvjUGO4xjqTYC9PmIpF6awwX/pxx/uTxziuA2YHutxbvz0Y0/PKs6MnkxBwo6iQ M9gOsIQGGGYquBxHi9k36/Bf5FXR8j94k5o/giY6arW45znukHqFd3vUzs5MrVDvERug InWui8Nd5iMTPJ6qwDNeTvv9SraJ3JOvPwPC6zUa0Jy4ReMR3jlS6lHS9JpWbUHbMtWF jQjtL6log1tc+UaNWE8PL7XfWDFZ+2q+1c7J2rt2ceIjj8Au0njItzcNzWVLs1yque6H 7mJ3XqwjzIBxRrHq/OXcllF6oJdmkgyP35L265FxE8Y+MRc+6tqLzezCrM0WcVk15bet uSbw== X-Gm-Message-State: AOAM531KIaL9XeQYOWr9M1F6hhYzu95zw/NVR6e6oQ6iBSqSUsNjl8zA JidnHmZxBvS9S9C2yYAVDAjmhw== 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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) { -- 2.25.1