From patchwork Thu Jul 16 13:59:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667785 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 B03FF6C1 for ; Thu, 16 Jul 2020 15:18:27 +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 86BEC2063A for ; Thu, 16 Jul 2020 15:18:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="z0A6xMF9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BZXkuoMj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86BEC2063A 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=lYLwfKhbUAnygJOnw1SPRPgGbdAgI6qKoCqeceh8lx8=; b=z0A6xMF9R+PQunS1LaIU+dZU9 bd9uqN5b47quSENfwKQd4mvFz4oN44aNRMSldw3nmnQEEbZ5dkmksCRn2GljEjrgB6llaJNfNESkc 5Wx2wQBmRWtjwCroU9B+hOW3DN9ofeOoyzYgG6uMUffbOIBS7U+QJ5HRuLwe/l5Q7eXgB+wJVXH0a h2foQwky8Z8tJq2ji9tSK9vO/ni4HQa30k6eiBrUIdD5UGAnonwiodCRt0JlqOBHUn3TDEIhQDz9Y JnVjc0akdAaW7+a8oGj/unq1zm6fQNVgZQJQddwryge3VOln++SOfCCjIFxyaMZzeIGROS1RFIFCt rp6ug5iPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Td-0005Uj-Kx; Thu, 16 Jul 2020 14:03:09 +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 1jw4QV-0003yP-V3 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:57 +0000 Received: by mail-wr1-x443.google.com with SMTP id a6so7195712wrm.4 for ; Thu, 16 Jul 2020 06:59:55 -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=GqxOwYWYCKbxRiFIfO8mQJ17c9E08hm9vRAt2tUzVrE=; b=BZXkuoMjqIRTS0/6QPnet0VkxaR+ZYIEPXHFKOFQCy3pYZVAsy32j3Drec+Le6Hkco 8tc+9B8okcwu97u594OZnlUdlxm4otXS2uR8C726JZp7H4RoaQI9EYdpp1VWJWyynggL IBthvy4QEsA6VEnviiixeZxU2qiEyr8lwutFFtMmUR8ValadGnwQynlH+ACf9OZwx6d8 3JTCFEI4quzR5QCrEyz/BrA+HTgjGdKGEergDADidFrMB1Ijpx65zyxJQsYnMcPo6gG4 lK9Urh6g5WoxHoqZ5AJ93s15VWvqo1seLUdp+x5zW8uxoT205CgLvV13yM9QiC8cwl0h NlFA== 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=GqxOwYWYCKbxRiFIfO8mQJ17c9E08hm9vRAt2tUzVrE=; b=dm6Cf1kM1szcAY2k+PfuZ5+x6oSPUbef0nd5khDzLRALwd59nET8KixvWlRScEvsyO bsSUibmWbfbEfiCAgegYaGAPuXXQxEoHIZYadnDr2dV1zQwV4kzzh67DbLPnZGzyg4DQ f436/TWwSFhj8C5Ihz5MyQMxrMeYCnjXkDx0/ltsxCGGdVtpjRwGuFpZ2mjIe8KcHCkZ xiMiHRPb4D3ZaHw5btt202SEPLectMdiO2V6HUS5PEeFiwq5kKWTVbFdkTnft2KCDARi GDg8m+k66Op8WTK7vOR/UcWCZWY+1KvS7ZgPYWWG/OkB4C+Lzk73hnT1qzNAeg4orqOX LcFw== X-Gm-Message-State: AOAM53291t982n7GH5mAa8rPscVrKjSd1N+bFYLEJHxGjfrMt4KYAeRh iQXqYSnVQCtiauy95pEYpM22Bg== X-Google-Smtp-Source: ABdhPJxYVAtXV1LzuFoU5IKqF3NfGCSxjIjAn6JnmZMWcEXVylAgyiNuD6x/dKuh428/yUB0CybypA== X-Received: by 2002:a5d:66ca:: with SMTP id k10mr5163414wrw.244.1594907993734; Thu, 16 Jul 2020 06:59:53 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:53 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 18/30] iio: dummy: iio_simple_dummy_buffer: Demote file header and correct misspelling Date: Thu, 16 Jul 2020 14:59:16 +0100 Message-Id: <20200716135928.1456727-19-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_095956_125972_5DD1A05D X-CRM114-Status: GOOD ( 12.33 ) 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, 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 File headers are not good candidates for kerneldoc. Fixes the following W=1 kernel build warning(s): drivers/iio/dummy/iio_simple_dummy_buffer.c:27: warning: cannot understand function prototype: 'const s16 fakedata[] = ' drivers/iio/dummy/iio_simple_dummy_buffer.c:185: warning: Function parameter or member 'indio_dev' not described in 'iio_simple_dummy_unconfigure_buffer' drivers/iio/dummy/iio_simple_dummy_buffer.c:185: warning: Excess function parameter 'indo_dev' description in 'iio_simple_dummy_unconfigure_buffer' Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_simple_dummy_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/dummy/iio_simple_dummy_buffer.c b/drivers/iio/dummy/iio_simple_dummy_buffer.c index 17606eca42b43..40d30c0a60ce5 100644 --- a/drivers/iio/dummy/iio_simple_dummy_buffer.c +++ b/drivers/iio/dummy/iio_simple_dummy_buffer.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) 2011 Jonathan Cameron * * Buffer handling elements of industrial I/O reference driver. @@ -179,7 +179,7 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev) /** * iio_simple_dummy_unconfigure_buffer() - release buffer resources - * @indo_dev: device instance state + * @indio_dev: device instance state */ void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev) {