From patchwork Thu Jul 16 13:59:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667617 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0633D13B1 for ; Thu, 16 Jul 2020 14:07:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C49E4207BC for ; Thu, 16 Jul 2020 14:07:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zrWOunvc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PUoZ+kjf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C49E4207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=slegCHQ2aOzbUNYCXd4sdYk7BwQJoUAU+wzj33Q9N7E=; b=zrWOunvcfeI670FvJ4qxVI0bn UMN4iWY6QI0pNfp89oW38joBdBFRLvVx07UGJQYR0+KbTz6/Pq2xLPOh/e8cuM0Nd3Z8VnHhbt0TH Ubx8maZwnN+avOuJV6NYitB4nkt+pECJbw8oNdwMLN2evzQeMS72sEfRKmXmiamB0H/ywSsnkjBju rRwOAAByOyq/6yCu5M2fonhed+7QzqgciMbdaROj1g2aJdEZLHbFgkyco6pLx9EqgRl5XTtkvpxR6 J/RUCkfRzsGgZpkdlByB83kfG2fvekzbwIc9bYBf//JBW0Dw+gh7YpSjLzfw5fbzw99DSLdi6THeD a3hqPA+CA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4W0-0000Kc-Ku; Thu, 16 Jul 2020 14:05:36 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qe-00042S-8K for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:05 +0000 Received: by mail-wr1-x443.google.com with SMTP id r12so7095077wrj.13 for ; Thu, 16 Jul 2020 07:00:04 -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=7Zqjbhr41mFcuxqFYTmtQRdbWtEY5mhva2FxvIlylMM=; b=PUoZ+kjfsG82Ntq8kXFJfLh56Snfmmn8k1IU3BDK0t0ulTX7ghosaJx/XI+qK/ZdZt i+oqbw0ftNTxD88caU4Y+3QKALiJNbW2x1Sfcy6KcIhCF+p6X2bO2sPN5t39nYxeOOh6 8x+ACpIeHkGsXmrJKIiOn1/noFzvRmQ4/ZeEUblFuiNFRF6HXK1aLMYZhmzv4hQQOht4 MwzHi6g7tvyX0nlNad2s1zwPH3Ckv+HptxVoBjBABU8qKfLwEIBRuWZWaMJaGa8BBj/P 8qWe635b+zu59V1K2w4uv2FpusVkJ1EjI/ZGfWz9Aq6ksWcosneBunT+r+xImyTSBThJ ylEg== 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=7Zqjbhr41mFcuxqFYTmtQRdbWtEY5mhva2FxvIlylMM=; b=S3vNH+jc6+pmtXi9VeQ9wlGrT+UdrTlzbKT6TrjtEKilsaTSLhdKJXUwjZdcR/1PNW 6pl4X0v1uCgCGm9LYlUf6bbLoYP2T0VqNJ2HHFS8iuxoTqZORQAgEuXpsAGVf+Bp5L0o EsAh5KyKGDks64VsbzXFHTyuwWbUMdqwxxrrq/StKJwmFlyduPmXmzxPN0f8yi1doI1H gNSHO9SveRZuHGF8mgfxpIvrJQDIVKw2syuwN0rgP5CaOvmmbWLqS9hzV5L7T79TqS3z KTEjPw0LOEdSCIlxPLregm8bY4iiMeI9R3PmR80XB7G8689QjMScRC0H6k4UwqX6IXqR UUag== X-Gm-Message-State: AOAM532KxdpGUxyNKAOG7b1xqwJOfhyRhdUImAnTbI8t9xQ9gals3WKH D8JtXQsCBbRN6YVbijxbmhf4Og== X-Google-Smtp-Source: ABdhPJwvMNt0x0XmHey72Trxma7/tiCQqWEKjnfToFouTqsZD0Ln5yHNxJrVKA/QTX/ZMNVd0ANjDA== X-Received: by 2002:adf:ef4d:: with SMTP id c13mr5088520wrp.315.1594908003134; Thu, 16 Jul 2020 07:00:03 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:02 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 25/30] iio: dac: ad5764: Fix misdocumenting and formatting error Date: Thu, 16 Jul 2020 14:59:23 +0100 Message-Id: <20200716135928.1456727-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100004_417114_64FBA816 X-CRM114-Status: GOOD ( 11.50 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Attribute descriptions must match the name exactly. Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5764.c:42: warning: Function parameter or member 'channels' not described in 'ad5764_chip_info' drivers/iio/dac/ad5764.c:67: warning: Function parameter or member 'lock' not described in 'ad5764_state' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5764.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/dac/ad5764.c b/drivers/iio/dac/ad5764.c index 5b0f0fe354f6b..1e16c464241c4 100644 --- a/drivers/iio/dac/ad5764.c +++ b/drivers/iio/dac/ad5764.c @@ -33,9 +33,8 @@ * struct ad5764_chip_info - chip specific information * @int_vref: Value of the internal reference voltage in uV - 0 if external * reference voltage is used - * @channel channel specification + * @channels: channel specification */ - struct ad5764_chip_info { unsigned long int_vref; const struct iio_chan_spec *channels; @@ -46,7 +45,7 @@ struct ad5764_chip_info { * @spi: spi_device * @chip_info: chip info * @vref_reg: vref supply regulators - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops * @data: spi transfer buffers */