From patchwork Mon Jul 13 14:49:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1328082 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=rEH/qBTm; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4B565414xCz9sTY for ; Tue, 14 Jul 2020 00:50:16 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730236AbgGMOuC (ORCPT ); Mon, 13 Jul 2020 10:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730232AbgGMOuB (ORCPT ); Mon, 13 Jul 2020 10:50:01 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECA02C061794 for ; Mon, 13 Jul 2020 07:50:00 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id o2so13448378wmh.2 for ; Mon, 13 Jul 2020 07:50:00 -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=aFwIxeC0MRqXJsoytVI2+bLE6Gwn1R4iqaYqzA7pZ0g=; b=rEH/qBTmc+y3WcbvEW5HE26Q7gP5vAFhKpId5HT7gUQfO9PJnht02sjqO5L70L31iM yFxfvi1mawGzA4mETQv/ji+tb6meLxCOLAMRWqf65Zft1eLgi5AbY6x3Cl6vR6DeUoj6 3Lz1+tt/VtQkJBfasqV5U56xpJcndeMGD8C9FTYFAYHu4tQHtV8/0Q8zfL7OcpYFfdJk 9cszBFYkqWFCTApiN1+H3IdQs1I30swZDgm/PAcGWJ7OerUZBbLHUVTzIaFiH5DQ6R6k WoeP+HvgvUfvsbCcfx4DbBFI9NqJ1LTZTRbOrpjxmj6m0C1y9VgiRtxud86pekb1EQNf eohA== 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=aFwIxeC0MRqXJsoytVI2+bLE6Gwn1R4iqaYqzA7pZ0g=; b=hKh7j/TIeXJaQNkPbyAeWnJuVeuREyNNvReNCOIghAy1ASZns398718l/3Gh9VABQ9 hztZbdFzNEvZ54UdVrgdhXVt3XNoDiirbuBaBjoTqxIVpN11bXaMPp+KZzVEcXSO48MU xXxVuuntgbByn3YrHXX3oaP3Cuic/akvE/hHH0Hfy6EQshCHRLUTt0mQA3bHiTqdTplu 6QPMxu2s7UA+uVgy8w46ZBJVhglB5JASVnoqrCZ0NEDZ3Shm01P+vP0unWJduoLhmr4g Iamz5/UqxJgnMmABuIb+JE7qJ3bOUm1fBxYXTmJjQVX2NlEJAtx5HCqvsoTd6HqyEgJc olTw== X-Gm-Message-State: AOAM532yU8KR8v+K/Hg4NqTed58gS6cKak/RjqeZeDHSaO5CkzEXSwJj s/3jwIgRLiODi6bocCVk2zhCow== X-Google-Smtp-Source: ABdhPJzRrpYQLlGQ0j8eOJpUthd5lhnK5oJBTKSQmesAb1tkkf+veB/fF9ViLbgb7E7HlUT8v+xyWQ== X-Received: by 2002:a1c:7fd7:: with SMTP id a206mr321234wmd.104.1594651799733; Mon, 13 Jul 2020 07:49:59 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id o29sm26207756wra.5.2020.07.13.07.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:49:59 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Subject: [PATCH 24/25] pinctrl: mvebu: pinctrl-armada-37xx: Update documentation block for 'struct armada_37xx_pin_group' Date: Mon, 13 Jul 2020 15:49:29 +0100 Message-Id: <20200713144930.1034632-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713144930.1034632-1-lee.jones@linaro.org> References: <20200713144930.1034632-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Correct misspellings and provide missing entries. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'start_pin' not described in 'armada_37xx_pin_group' drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'val' not described in 'armada_37xx_pin_group' drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'extra_pin' not described in 'armada_37xx_pin_group' drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:68: warning: Function parameter or member 'extra_npins' not described in 'armada_37xx_pin_group' Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Signed-off-by: Lee Jones --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index 5f125bd6279dd..953126bf6657b 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -45,13 +45,14 @@ * The pins of a pinmux groups are composed of one or two groups of contiguous * pins. * @name: Name of the pin group, used to lookup the group. - * @start_pins: Index of the first pin of the main range of pins belonging to + * @start_pin: Index of the first pin of the main range of pins belonging to * the group * @npins: Number of pins included in the first range * @reg_mask: Bit mask matching the group in the selection register - * @extra_pins: Index of the first pin of the optional second range of pins + * @val: Value to write to the registers for a given function + * @extra_pin: Index of the first pin of the optional second range of pins * belonging to the group - * @npins: Number of pins included in the second optional range + * @extra_npins:Number of pins included in the second optional range * @funcs: A list of pinmux functions that can be selected for this group. * @pins: List of the pins included in the group */