Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2131398ybh; Fri, 17 Jul 2020 10:00:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcXgHHfIE5xXz2Apavs6SKJ/GW7PqyFH6AqMpxW79VqwPSyJcBELX/yOo4FQNyAKJoMc1h X-Received: by 2002:a17:906:7709:: with SMTP id q9mr9265004ejm.123.1595005238845; Fri, 17 Jul 2020 10:00:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595005238; cv=none; d=google.com; s=arc-20160816; b=0cu1HF2cce93gtptqvYTAMryG5zPhAI5fmcI2STQHnK64mnJKyOMz/0PUQj8jRCSac RvaXF2jy6BtMgKyyN8mPzNRlwFNqGV8J4tBv6arp/Jl0RgEhVYanK3cmN7GFW+lGkRVa V2lwVaMt5N29comRh4nMmG3nxfkOt53ZA8HnaQ9w4zPVg8RsdaTn2FJE90hPUKqUP0Wy ikcYZIgSQgqc8uCPSHWBAjaGwK48nPVXsXOCP7+U4XyUcL15RF+8KpRYWipitlnZXsTR zlJtl35NhZ3wuwENmaCqquPoa7Oei+1X5tG0ynQTriQjBjk/W7xxCiGk7LoAbKyl+FFV yshA== 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=Rc1gRiFLnICYkzZdrxG6wdBxb95IGqTfJLICTNXyrKU=; b=sag0V1kOFCRZZcSx44RazRO8+srTeO1MEauwMtMN19PfQrjk2mLbvHVHsWbRAPPhpV Mm2zdWhqWCKY5O4Ltvm7hruCjItnyxj128fv/6nsF7xe5WvmXpfJRpDExmd3kyQOORCQ sbkAfDY1PrHk3desKAKZFMHqDKnaR2xPWSscMMfORjuzgrSsY3uc2FoVcJ93GMkVUwZb YxdfVYRYyRkSKLmffamaaQOu5Vd86u3tn0vBOUtaci8KHKHtx2O8eu/R19z8hcToEo8z /duqeWusi+4sybgBHOdYg2tEkfAKUy02e96og4U02eS+bo4bhhdySGAjyVE3UxLPNfVL nnag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gaLDHhRp; 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 a1si5945433edb.90.2020.07.17.10.00.16; Fri, 17 Jul 2020 10:00:38 -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=gaLDHhRp; 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 S1728164AbgGQQ5W (ORCPT + 99 others); Fri, 17 Jul 2020 12:57:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbgGQQ4S (ORCPT ); Fri, 17 Jul 2020 12:56:18 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1905FC0619D5 for ; Fri, 17 Jul 2020 09:56:18 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id o8so15944427wmh.4 for ; Fri, 17 Jul 2020 09:56:18 -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=Rc1gRiFLnICYkzZdrxG6wdBxb95IGqTfJLICTNXyrKU=; b=gaLDHhRpwR3ip7ByImygRyE6T8KMhCeOwINKf9nI53AuRbCKThVlZPnVDsTMqvNHJr 6eHtvKSEeHZjAueJq6jCt0C+F6/cIB+tiCdInlV3ZF9xmO3wWYA0yy5/VwsJOPWe2/8q +VfSlqQz/dug0MDcHgCo/egx2F0DXeTGm0/phPlQlUgla81RscMXC/yUh0b7+1im/Y4A 7LV1NJT/INVpyBK42/jJ4xS8iUBaMYfzX+LyFdTfCdoFBM/1K26iPwbzAFVnFpJin3l9 xYMHogy8enMH8Ek2t1lbTVQxdDlwuYwKO9RREuiWNY0pTU7erHOC062a7K11ocyst6xX 3/cw== 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=Rc1gRiFLnICYkzZdrxG6wdBxb95IGqTfJLICTNXyrKU=; b=YHiiwMFhFFcCDMAwOsf31Zdk5q7Zv+OJpfG/OUy1ysqJFYsk4Egxz0d/Ex/zskFQsx IzvJOuQ3E9MBgAOjFnylottBNpncg2oeVYC6puin1EG8sp4+3BuiMARqdcyofe/jVaGH FxOjQ3+hgJa6V54THocEKQD3J1B/eNxo0GDRjRscGYl/gf2RdooBt66HUCSF3I24oEUE anrqonH7eQhS38M1mKb7YmZihlAKd7RB0VzhaVa8F+Aa06G8wauoa8ppwd3HuNG/Uu+r bDO7B62SWuamj5Ry5QdEabhkWrM4PiMYJn9YPEhpqsc/Lk0tBm3NhKHHWEROLaWxXJZm 4G/Q== X-Gm-Message-State: AOAM532LP0vDvBCK3Nitk/TJM95ns3E8d+RGPYLBlkNWzt/SN25ZqAvr jFnAY9SB3sis+HgfDoc6ii5ZYA== X-Received: by 2002:a7b:c313:: with SMTP id k19mr10345994wmj.67.1595004976743; Fri, 17 Jul 2020 09:56:16 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id k4sm14941516wrp.86.2020.07.17.09.56.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 09:56:16 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Lee Jones , Christophe JAILLET Subject: [PATCH 16/30] iio: accel: sca3000: Fix 2 misspellings and demote nonconforming kerneldocs Date: Fri, 17 Jul 2020 17:55:24 +0100 Message-Id: <20200717165538.3275050-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717165538.3275050-1-lee.jones@linaro.org> References: <20200717165538.3275050-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 Fixes the following W=1 kernel build warning(s): drivers/iio/accel/sca3000.c:210: warning: Function parameter or member 'mot_det_mult_xz' not described in 'sca3000_chip_info' drivers/iio/accel/sca3000.c:210: warning: Function parameter or member 'mot_det_mult_y' not described in 'sca3000_chip_info' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'indio_dev' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'chan' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'type' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'dir' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'info' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'val' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:871: warning: Function parameter or member 'val2' not described in 'sca3000_read_event_value' drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'indio_dev' not described in 'sca3000_read_event_config' drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'chan' not described in 'sca3000_read_event_config' drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'type' not described in 'sca3000_read_event_config' drivers/iio/accel/sca3000.c:1110: warning: Function parameter or member 'dir' not described in 'sca3000_read_event_config' Cc: Christophe JAILLET Signed-off-by: Lee Jones --- drivers/iio/accel/sca3000.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c index 6e429072e44a4..3952187166ffa 100644 --- a/drivers/iio/accel/sca3000.c +++ b/drivers/iio/accel/sca3000.c @@ -186,9 +186,9 @@ struct sca3000_state { * @option_mode_2_freq: option mode 2 sampling frequency * @option_mode_2_3db_freq: 3db cutoff frequency of the low pass filter for * the second option mode. - * @mod_det_mult_xz: Bit wise multipliers to calculate the threshold + * @mot_det_mult_xz: Bit wise multipliers to calculate the threshold * for motion detection in the x and z axis. - * @mod_det_mult_y: Bit wise multipliers to calculate the threshold + * @mot_det_mult_y: Bit wise multipliers to calculate the threshold * for motion detection in the y axis. * * This structure is used to hold information about the functionality of a given @@ -859,9 +859,9 @@ static ssize_t sca3000_read_av_freq(struct device *dev, */ static IIO_DEV_ATTR_SAMP_FREQ_AVAIL(sca3000_read_av_freq); -/** +/* * sca3000_read_event_value() - query of a threshold or period - **/ + */ static int sca3000_read_event_value(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, @@ -1100,9 +1100,9 @@ static irqreturn_t sca3000_event_handler(int irq, void *private) return IRQ_HANDLED; } -/** +/* * sca3000_read_event_config() what events are enabled - **/ + */ static int sca3000_read_event_config(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, -- 2.25.1