From patchwork Thu Jul 16 13:59:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667631 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 7B82813B1 for ; Thu, 16 Jul 2020 14:08:02 +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 52A32207BC for ; Thu, 16 Jul 2020 14:08:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BiZCUWvs"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Dx8Pbe1u" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 52A32207BC 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=b3P1eVZoO6KXVup0T6II6yVdRgYRRtnlsbenNyHLzVk=; b=BiZCUWvshG+hC+Z61MqgcGuuY nfQfojGaJzuI+GWXGBNVpO/EyoVPAs9DmUoTpxNFNCRhSH2gSCy+YiK+mrafGDgW+dUIUMyO7MIq4 Fj1ZQATrx0fdS5QFZCkWbE9AAn8JYpnFRMBMvvwf2dwszCoaH2+lZvBSfIZ7AaCyccmGNRfV4o/Kp RI+fGi/PWTYP53wrxUBatbOj8l3/qWzU/eAKyORRZobQe82G9Q2H5HHcRI+mf7YimXCxK+81ahmrf 0L5koFeyaDg66OiSrWFP56tDsEQPQ7mXgtYFH0SzJCkUkexH6k4xXXwD1ffbCipqGtcPSf06j12z6 bmFgpbn9Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4WD-0000N5-Mq; Thu, 16 Jul 2020 14:05:49 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qk-00045s-O2 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:15 +0000 Received: by mail-wr1-x442.google.com with SMTP id k6so7204393wrn.3 for ; Thu, 16 Jul 2020 07:00:10 -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=WOHIdvlIidd+7p2sHDTKra83ef6B8ha7cc7/PdUBPbc=; b=Dx8Pbe1u4vM+hm4azGpSGHrCAbBXlqqYV05Tul1Kzq1JT3U54J/G6KRSVP6psj774j 7oF9rHqwtNNlwsOEGGs5GQTJ/Jah2QI/U1HMKvR9lfK3lqmU4diL84p/6v76SPvJf4pT HuqqF+xlt7X2q2iLgC2m01XLwMZcZ9D31mgL5QdP3KrF1fAFnso5wW9jhZnOlQ4jO7zw RRGiQ8SPWNA0g7vRLZJFrccsYKdCNZCW9rwOrW+T/UiuU6J28Hlk5JiwGGLP8bRatMlI RxgJ3sqhtpQdQGak2/oAX3DJ8jv+AuzlgjMdzW5aLUluWovEMlFybQWPRcDj3Hs2qVWb DJDQ== 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=WOHIdvlIidd+7p2sHDTKra83ef6B8ha7cc7/PdUBPbc=; b=ds6kgAbfSH0B0pryEbl5fMLuBQLkVd0HArAEOFh2pvNOPg56Hh9VeSJeW0Xr3lKjKY hbEiS2Mqbxis8lb4GAaW9otbLE55Il6Qdirz7Tf5dYfjLBHpx9mxJ1lolB0v+m+ua+ZA /E7NSouBKhoZhrJnFh7cMw9elZfTYD5cWKLpbQgxJ9cGyvGJ5oMPxaeIixcofybg0Jmn HxHqT3wW6R/92u2a0fIxyerHnVkdxdXQRBPdPV/bt3dasZeRKbhCFGkNPyjta6Tku8yo FVFZ1R9SiXROmolS6A8uxY0xo9sNQ1x6buK8L+lXHagawxbsDYtCa6eKafd2iNMj8+QV U6OA== X-Gm-Message-State: AOAM533cJdtLTqNRMI+BYrOYkYaa+awSZevk8I26bWqYLcUmLCSZWnpK /Y/VpnxWvIW04CTBT1jQ0ehfLQ== X-Google-Smtp-Source: ABdhPJwAX0gWGkhPX0tfMguJK7Zm8LpXZMXfhfkclKhURxrQJenM8r8bQA/v5LnHqNQaiAeripPq4A== X-Received: by 2002:adf:8521:: with SMTP id 30mr5018695wrh.238.1594908009398; Thu, 16 Jul 2020 07:00:09 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:08 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 30/30] iio: dac: ad7303: Complete 'struct ad7303_state' doc and reorder compiler attribute Date: Thu, 16 Jul 2020 14:59:28 +0100 Message-Id: <20200716135928.1456727-31-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_100010_917386_576321CD X-CRM114-Status: GOOD ( 11.77 ) 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:442 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: Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Lee Jones , 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 Kerneldoc gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'vdd_reg' not described in 'ad7303_state' drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'vref_reg' not described in 'ad7303_state' drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'lock' not described in 'ad7303_state' drivers/iio/dac/ad7303.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7303_state' Cc: Michael Hennerich Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Lee Jones --- drivers/iio/dac/ad7303.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad7303.c b/drivers/iio/dac/ad7303.c index 15af8a1cce3eb..05d8dc88d4fad 100644 --- a/drivers/iio/dac/ad7303.c +++ b/drivers/iio/dac/ad7303.c @@ -29,6 +29,9 @@ * @spi: the device for this driver instance * @config: cached config register value * @dac_cache: current DAC raw value (chip does not support readback) + * @vdd_reg: reference to VDD regulator + * @vref_reg: reference to VREF regulator + * @lock: protect writes and cache updates * @data: spi transfer buffer */ @@ -45,7 +48,7 @@ struct ad7303_state { * DMA (thus cache coherency maintenance) requires the * transfer buffers to live in their own cache lines. */ - __be16 data ____cacheline_aligned; + __be16 ____cacheline_aligned data; }; static int ad7303_write(struct ad7303_state *st, unsigned int chan,