Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3595321ybt; Tue, 30 Jun 2020 06:54:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXqC922aj9aUwIfWSZ4jQSwd1FC6DzNEB1hVzYeu5wdZfTF08SGJohapjdV1ynK9N06IME X-Received: by 2002:a50:ec8f:: with SMTP id e15mr22638813edr.70.1593525272108; Tue, 30 Jun 2020 06:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593525272; cv=none; d=google.com; s=arc-20160816; b=dWLZ4XQOXRkINHb/O6MILWIhIhwbVB942PLIbl3QyQSaS9v+2MBldERkD2Wz3aTIRg zXrHDLfFSeKoWjWQahWj1k8EgD6g/AzQjPQ4m26MCcKwbxWoD/LBTaTHRx7+CputDqgd 4JHQ5Romy9oInQ0BOeTZtMs205Uj1cK8D5leYUtcxIK5wfGvkCeqdOkgPW5kyezaLdgy +tyN0TXUJBYj4CALtOG9OWS+ENn+S6eFeVi2LobRnPSBvzU9xeQtTYRPODF77496zJg0 /HZqbyW/FtHyLtESngLuEPAQ/tvnfHFzTrUSgkCjarVWWbmWI17BR9nZbWi26VTSe/os FrTg== 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=ed8H2szCHThwNArdetIOxqgfOUbWnaN816hTwHMkdbs=; b=P8jFGN0/ceI+BOViVHS4aBRgre+RurvsFt7gtDMVXSAd6iArb+IjwwrwuYDXXUyKMI 0Os+fQ493qngergKMPJiPcK/jWvAxfUR69PJtZxCSjr/vPa5j/2vieGK8V4OysoBKIew 8ESQ9wga1QJFfoSII+jKUtxoHCnebt4whYcO8SwVUvHKxw0h9MCzfzh9LFEfPq8yvUam TVURv2TeZvpxcG6OhiQDuipDHk8KDPWHVeYxUFRix8wwxOipGTaJ7lRE+SkHO5Kt5Gcu 4Mk49zYDC8mL8k9bQS17rs7AH7Gcx3w2TbQejIIBwoBvaHD2MXWISviEqxnPCu7Uxdyw RXGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDOoBlOc; 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 r12si1951108edc.599.2020.06.30.06.54.09; Tue, 30 Jun 2020 06:54:32 -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=LDOoBlOc; 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 S2388213AbgF3NeK (ORCPT + 99 others); Tue, 30 Jun 2020 09:34:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388151AbgF3Nd4 (ORCPT ); Tue, 30 Jun 2020 09:33:56 -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 69196C08C5DE for ; Tue, 30 Jun 2020 06:33:56 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id h5so20179070wrc.7 for ; Tue, 30 Jun 2020 06:33:56 -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=ed8H2szCHThwNArdetIOxqgfOUbWnaN816hTwHMkdbs=; b=LDOoBlOcdm5PNPBUjDlyXJMjFJoTSFbyLvEFfk2MSUYrchcD9tFEd0BZXO9SrTscoH eA/vQ6GAXtpXOUjef9fBRpi0CJvg8ckXzJXuEz09kLvdNWWqgqE1w+ordm7P5ftaJrHD a0mfbn07kQRfTm7ePl7W2Q76YlUgaNcjabzztkrqEVWKBpwBuKDZpQ0ySSp7J3V99l2j FbzF3FM16U5AgKguFp3o6KOWA4WGAskO5BV+OW1Ott1uuGymscZa01d/Fo66kvqK+Cnd 3apKWuCiSlV53s2VaJ5tXUiP4AQaF9MKFHjnCVFdG0y9wiripankDZXkPRCESZJ47G42 r9QQ== 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=ed8H2szCHThwNArdetIOxqgfOUbWnaN816hTwHMkdbs=; b=PBXyPgZuGaw9wz+DQlAsQGwJ++UMiPcCV1dlji0zJ0lHfuARj/pdqmi7xr5dvfhSqf ANg2NYg2soeB/MVXm6DoyNeP2UID4kvihMgU5PTcyPkjZf+O/mYUs/eu5jv9j/+JhrJB XiA8lRsGDNJAwbg1Bg4NZEOtwm62Ckxd3+0LXGvPFADErBobOKnniL0gz0KFC+dj+nN0 w9lWHjdlIsiHscpZnZ6OoNbNtcnF+Ng9U+8JJqOIvrWvSue2xjr5DNiP5ttu1qSjO5F+ /bkWL9WLbyVNwyRsvwF1NDSx5KryjirQYqeHV8bQZvJbGnELCRkyWBujldab6JBsww53 LPkg== X-Gm-Message-State: AOAM531+rB8yRUELRF7cLKdUza2N+Qkeo1qRHAn6VUa/JJY3lOCqUxyS UcA2k7YqU3FP5As33/c4pQ9kEw== X-Received: by 2002:a05:6000:1006:: with SMTP id a6mr20905598wrx.332.1593524035124; Tue, 30 Jun 2020 06:33:55 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id z16sm3682464wrr.35.2020.06.30.06.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 06:33:54 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Alexander Shiyan Subject: [PATCH 06/10] gpio: gpio-syscon: Fix formatting issues which confuse kerneldoc Date: Tue, 30 Jun 2020 14:33:41 +0100 Message-Id: <20200630133345.2232932-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200630133345.2232932-1-lee.jones@linaro.org> References: <20200630133345.2232932-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 expects struct properties to be documented using the syntax '@.*: ', but no '@' has been provided in 'struct syscon_gpio_data's header. Add them to stop confusing kerneldoc. Fixes the following W=1 warnings: drivers/gpio/gpio-syscon.c:48: warning: Function parameter or member 'compatible' not described in 'syscon_gpio_data' drivers/gpio/gpio-syscon.c:48: warning: Function parameter or member 'flags' not described in 'syscon_gpio_data' drivers/gpio/gpio-syscon.c:48: warning: Function parameter or member 'bit_count' not described in 'syscon_gpio_data' drivers/gpio/gpio-syscon.c:48: warning: Function parameter or member 'dat_bit_offset' not described in 'syscon_gpio_data' drivers/gpio/gpio-syscon.c:48: warning: Function parameter or member 'dir_bit_offset' not described in 'syscon_gpio_data' drivers/gpio/gpio-syscon.c:48: warning: Function parameter or member 'set' not described in 'syscon_gpio_data' Cc: Alexander Shiyan Signed-off-by: Lee Jones --- drivers/gpio/gpio-syscon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c index 31f332074d7d5..fdd3d497b5350 100644 --- a/drivers/gpio/gpio-syscon.c +++ b/drivers/gpio/gpio-syscon.c @@ -24,16 +24,16 @@ /** * struct syscon_gpio_data - Configuration for the device. - * compatible: SYSCON driver compatible string. - * flags: Set of GPIO_SYSCON_FEAT_ flags: + * @compatible: SYSCON driver compatible string. + * @flags: Set of GPIO_SYSCON_FEAT_ flags: * GPIO_SYSCON_FEAT_IN: GPIOs supports input, * GPIO_SYSCON_FEAT_OUT: GPIOs supports output, * GPIO_SYSCON_FEAT_DIR: GPIOs supports switch direction. - * bit_count: Number of bits used as GPIOs. - * dat_bit_offset: Offset (in bits) to the first GPIO bit. - * dir_bit_offset: Optional offset (in bits) to the first bit to switch + * @bit_count: Number of bits used as GPIOs. + * @dat_bit_offset: Offset (in bits) to the first GPIO bit. + * @dir_bit_offset: Optional offset (in bits) to the first bit to switch * GPIO direction (Used with GPIO_SYSCON_FEAT_DIR flag). - * set: HW specific callback to assigns output value + * @set: HW specific callback to assigns output value * for signal "offset" */ -- 2.25.1