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: 930849 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 418W5x379jz9s1R for ; Mon, 18 Jun 2018 22:45:25 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TcSRS334"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 418W5w74Y1zF0x4 for ; Mon, 18 Jun 2018 22:45:24 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TcSRS334"; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TcSRS334"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 418W5r3gh9zF0wM for ; Mon, 18 Jun 2018 22:45:19 +1000 (AEST) Received: by mail-pg0-x243.google.com with SMTP id e11-v6so7488247pgq.0 for ; Mon, 18 Jun 2018 05:45:19 -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=NKQMTU1YNgRkuG/QSch97WbrFQYLL/pyo6/1Kz3M3H360oVJS9chmtVH22WRZ+atoy xKGEwUoJeLcCGi/uc0lJhnsH3yyuecIRaVZ4bjlNuXE7HfeT951oVMtFYS+zU4L0C0uZ xxi9v/rMRRWwe5/o0zHnJdTg30Oy6ZChZecte+ZzThcVtwzOVNaHavaHji/2Tq+Fz3nR 1dGlYGNiNkb6xlYPwcQXffaVPUCrlGwx5aOU7O6WUdQtrjOKkbJvVkDTt+bvsKfgN+tO i0rOQznmp+o3UBHbV8jhNqNx8mlK+L7im+BMNFLQLS5j1S/hqhLxtH5X41Qem2XG9xEJ 8SCg== X-Gm-Message-State: APt69E0okPT9sepsR6scWMenNOiTOe31IILA+9h9cx/0EgmPpxsLGrrf ZWZ2Eeip58sXIDSE0KsTQLo= X-Google-Smtp-Source: ADUXVKK2S323tXsxj/ra8D3WmkH+rOr+/DPjA3kuLuExfgORzD8V20WPeYXu3lq+ppyJia//KyKlsw== 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 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 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, linux-aspeed@lists.ozlabs.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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 Reviewed-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.