From patchwork Mon Jun 18 12:45:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 138927 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp3909572lji; Mon, 18 Jun 2018 05:45:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJFPr3v7jL52Q6i5m/eVDc5DUBNp9f4H1Iwtnc1w6SRrjOXLdTnyL6d41cT17hyDet9C8HY X-Received: by 2002:a63:9702:: with SMTP id n2-v6mr10705425pge.88.1529325918778; Mon, 18 Jun 2018 05:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529325918; cv=none; d=google.com; s=arc-20160816; b=kk4eyTh4ysXa1ACZQI6Au0Zv4hhH8X5Lnld+B6d57lzyD4bCGLJg85opTUioUin2YD OtWHeoUBvAX3IYdy3da38+f7vOuCGP01zATsiit/SYU37lqJLTQHxFXjm/GD7J9Yl1B+ 05fUkdwT52vdX4r2m9kqeGkRPy+jb0BqX4ydyHFMyTd6TgezDoK4UNQej91PtL1QAKUj 540WGkiZKfI/6/sH95AUuchGsAgn51tXztZNIwJZASNTnFBdnWLVNUq4kRzP+EzEdjlF K/D9pW8Y1EQpxJCeNAnGbn1CvFZpYBLSPCI5ttac/lCrn6KFXTYLsQpt+dxx43t33ig+ zfHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Ufe2vPkxTvy8AKjmH+Mb1P+fd5BQkCydNiZtDCoCxLQ=; b=bqdA1zwYLZ1bvWwqLup/iY8DwyNgaeHesyW82p+pGiPEEmMrVmddp4lujZR1iY6/as uD+yHgmfAhDqQz8YNY7femktGAO2k9YjDrbpAhJ+0hQCt9c69W5VNdhYWCN65Uad8UTN BiYQOEgAIp6dy5Rlvj39HkOQC/c8bximyCQyf3BTW3gMfwf6efdXklDlKf0XaYZVT84/ QqtXFF1wrQ+S/yE2OD/ZUussJKLiuNYly4hElHZ6hHMo4cobeeUtXi4QJOu1uNmwyJ3n Y4BoFo6RRPzvCbsR562442AnZvwfQeoM2zOBJLX+1Xi1f6JtndW5ewgnhr0LS1ZchNbg u3pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TcSRS334; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73-v6si15406162ple.157.2018.06.18.05.45.18; Mon, 18 Jun 2018 05:45:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TcSRS334; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752823AbeFRMpS (ORCPT + 5 others); Mon, 18 Jun 2018 08:45:18 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:36729 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751868AbeFRMpR (ORCPT ); Mon, 18 Jun 2018 08:45:17 -0400 Received: by mail-pg0-f68.google.com with SMTP id m5-v6so7483789pgd.3 for ; Mon, 18 Jun 2018 05:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=+AnifxhW6UE7iOVCcurpp5iHvN2AX5HJ63wisF7BA10=; b=TcSRS334I4Kbrhg39D0B4kbakuNz36ZyxN7lCc04BSGYPAvOe51OXRTv/TnXT3hNLO QXrrPiJtsW69Pg8iq311k0eAWM3AzEWtFwrJgdunGAVF4SopSxsSAlbqpB5UYiBtaMZQ J3NSt0D5AHpLLFoQROmXlTZl51HdwudiljmPaHPkvsQpvVIB4/69UmX5Wyv4ljpfbWMx CPuZHc7Q/9XzHOZEfBVGtMD38GUPkVlWu8QY7U3MLksFbKVFO4nnQiN+2Q8R1ioUtT/p 5K6El6sADyDJl4SeVHQP2BQb9ocbI5T8zfSigNMMScf9EZBiegiYxJ8CjxPzRzwUkHJX O+Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=+AnifxhW6UE7iOVCcurpp5iHvN2AX5HJ63wisF7BA10=; b=pUNNKP09hYpPw5kVAYxpT8chD87zzKxVCvN0UH6Mg9cwkeYKHt9f+3MDCdATsYMQRI Aw9GkNn6Yq0HdT1rw06iRHblreBjtQBLOWKiCvBJbPFFlGrz27bPmce6/BWvjWuEMfmg 35mixoOxkQABU+vtsaqmigoF9m0L7qA0G1csAnfKkbh/rWFyp9zm1Hy2kBVWaPcXPhQX bvLZdKU1MHM2XtA63UPSfwu1yoxWvH77LiZn+MU1WIQrB2oyn6D9L31KX4SkvqOUTREa S7U2B2s7/9SWoNYh50gSPCzeIGFthkDBvzD4cFTvZ197Qrw0fsJBLnZ+or/bigSKBSry GaHA== X-Gm-Message-State: APt69E3R5RDV03zyVQFkI4Ze0aA3qL6fENCCTTyGxOMl1WBuiykmZaRI blzCJDuQhW8txDTJuzAmYTcgx/jp X-Received: by 2002:a63:444:: with SMTP id 65-v6mr11254633pge.101.1529325917048; Mon, 18 Jun 2018 05:45:17 -0700 (PDT) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id j21-v6sm8725413pfn.121.2018.06.18.05.45.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 05:45:16 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 18 Jun 2018 22:15:10 +0930 From: Joel Stanley To: Linus Walleij , Andrew Jeffery Cc: linux-gpio@vger.kernel.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH] pinctrl: aspeed: Fix documentation Date: Mon, 18 Jun 2018 22:15:06 +0930 Message-Id: <20180618124506.12961-1-joel@jms.id.au> X-Mailer: git-send-email 2.17.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fixes these warnings: pinctrl-aspeed.c:112: warning: Function parameter or member 'map' not described in 'aspeed_sig_desc_eval' pinctrl-aspeed.c:112: warning: Excess function parameter 'regmap' description in 'aspeed_sig_desc_eval' Signed-off-by: Joel Stanley --- drivers/pinctrl/aspeed/pinctrl-aspeed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Andrew Jeffery diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed.c b/drivers/pinctrl/aspeed/pinctrl-aspeed.c index 7f13ce8450a3..aefe3c33dffd 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed.c @@ -95,7 +95,7 @@ static inline void aspeed_sig_desc_print_val( * * @desc: The signal descriptor of interest * @enabled: True to query the enabled state, false to query disabled state - * @regmap: The IP block's regmap instance + * @map: The IP block's regmap instance * * Return: 1 if the descriptor's bitfield is configured to the state * selected by @enabled, 0 if not, and less than zero if an unrecoverable @@ -594,7 +594,7 @@ static inline const struct aspeed_pin_config *find_pinconf_config( /** * @param: pinconf configuration parameter * @arg: The supported argument for @param, or -1 if any value is supported - * @value: The register value to write to configure @arg for @param + * @val: The register value to write to configure @arg for @param * * The map is to be used in conjunction with the configuration array supplied * by the driver implementation.