From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84EAFC433DF for ; Thu, 16 Jul 2020 16:01:35 +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 5233B2064B for ; Thu, 16 Jul 2020 16:01:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wb4gcirO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CZneTPsX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5233B2064B 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+linux-arm-kernel=archiver.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=cStdJBO6cbdMeZnZP2/hZB0FKKkBKCYcOd8BhVZdtkE=; b=Wb4gcirObdmbXyqvrhC49fxqQ AdQqq2xiMthuLhetyHxGeU8I99ZZP+xHukxU7gKUkK+SH72ANhYHKALywSxm6+z+K23mlL/AauQ6x Nox+FpDbnyG4gU6az1B92RGNrXGltvMYs9ZpI+9fkVsuUX8ZHpyLOvIZxK8/cnsFRid4uXB5IHYHv Io1Mx+4VoiGZFNerMdPVSFE/08N8ccgSE6KNJ/4KxpozXU5yejjOhqKp5J96YvOm4aln3k8LUZ8OK yF+HYFmfnQkfocjBk+0fhwyHZ3HoRiwkkt1xaq0ueuPN/l5yxsv5E8H+1DzRgtTxpGSdLCm/vdQtC JlV4wW8mA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4St-00053M-J5; Thu, 16 Jul 2020 14:02:23 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QP-0003uq-5G for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:51 +0000 Received: by mail-wm1-x344.google.com with SMTP id o8so10402641wmh.4 for ; Thu, 16 Jul 2020 06:59:49 -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=ocpmprgzmWGZxJ5zL5R7ftXluU21C0wPbP88cIep754=; b=CZneTPsXS9uqp5nPgc28Vz17b6BEQDi442w3rkHr9tDiPIC8oXfbXnyy5t0zYJaeSB iPDQM+PZ7JnYsCFI9kgXY3Wl7QIXxII1h6qVnp3QscfnTSPsOHYxia4UuunI1tgrvD0G gayKddwj1Ga4q7iyZP6r/sc5mExi2zmxJZbOE3goJHrkJkHeTrecbIABUECTmnB8ztby 4vVwtqub+b1iscTXmg4GlsQb5AQdEwTwB1OMqlOHyEWIJR/uHfH4mFJlhQnhDGGtVEMo E94XWJGhZP5zbino255dTYXeR1G8COZK0D2sNNWTFgm/ee0VffX8nkeSIyb5VYy8n82/ cDfQ== 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=ocpmprgzmWGZxJ5zL5R7ftXluU21C0wPbP88cIep754=; b=qlcQ8kBLU5MwSERE2XE3L7+SnlWQtM51yeIbwGSxZAk3Frhs08qXqPSVCYhXLSaGCL RbAezLvVFdJPpcQVgR4RJHgrm5Uvp6Bw0+9/zX6pngL7eiix8qIxE99H2kFKuBmFZ3xa HDBoczzR0rb8if+DIoHBfXOB98QvVvwxZLFhDMEgmV5r6mUOvtxKbHbJP1rzlt5kRmk4 tUl8pqAvbCHmmgymbzyHjefmpy+gOw3nPhbbqNUV/0JzGTy+Bu2TmrwfFjBWfige4Ijs 1u34ctgzIBJ9/G8x704LJHp6ElaaIgHFm97TxaJl+1o7JOh5mM0kW6N5goyIzik3W0fH fOZg== X-Gm-Message-State: AOAM531Lq9/jAA425IlOZrqyT1i3LYJ36YpjDUUW11nx8QgoZNF/Nx7x 3ZpADnNvqaeP8mVLvuRM+Sm4CFLSzX0= X-Google-Smtp-Source: ABdhPJysvKtOyj2iTio5knKzxJhexTSe2SR/RxB3NYtbN7/a417Z2IcOI3EZ8WcHL2WI8hxW0dYezQ== X-Received: by 2002:a05:600c:2219:: with SMTP id z25mr4828299wml.154.1594907988041; Thu, 16 Jul 2020 06:59:48 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:47 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 13/30] iio: dummy: iio_simple_dummy_events: Demote file header and supply descriptions for val2 params Date: Thu, 16 Jul 2020 14:59:11 +0100 Message-Id: <20200716135928.1456727-14-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_095949_381109_51ECC981 X-CRM114-Status: GOOD ( 12.28 ) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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_events.c:21: warning: Incorrect use of kernel-doc format: * iio_simple_dummy_read_event_config() - is event enabled? drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'indio_dev' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'chan' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'type' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'dir' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:123: warning: Function parameter or member 'val2' not described in 'iio_simple_dummy_read_event_value' drivers/iio/dummy/iio_simple_dummy_events.c:146: warning: Function parameter or member 'val2' not described in 'iio_simple_dummy_write_event_value' Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_simple_dummy_events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iio/dummy/iio_simple_dummy_events.c b/drivers/iio/dummy/iio_simple_dummy_events.c index b3abaaca6f5ef..63a2b844be508 100644 --- a/drivers/iio/dummy/iio_simple_dummy_events.c +++ b/drivers/iio/dummy/iio_simple_dummy_events.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) 2011 Jonathan Cameron * * Event handling elements of industrial I/O reference driver. @@ -107,6 +107,7 @@ int iio_simple_dummy_write_event_config(struct iio_dev *indio_dev, * @dir: direction of the vent whose value is being read * @info: info type of the event whose value is being read * @val: value for the event code. + * @val2: unused * * Many devices provide a large set of events of which only a subset may * be enabled at a time, with value registers whose meaning changes depending @@ -136,6 +137,7 @@ int iio_simple_dummy_read_event_value(struct iio_dev *indio_dev, * @dir: direction of the vent whose value is being set * @info: info type of the event whose value is being set * @val: the value to be set. + * @val2: unused */ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel