From patchwork Wed Nov 4 16:24:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320548 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp5568331ilc; Wed, 4 Nov 2020 08:25:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwN9vEW5ZmXlShDZl7sEVmQuy7Aalbe7ilRR2xYhUMaxdKPbwUvY+X8ezWTy7iu6jOXDK2i X-Received: by 2002:a17:906:f148:: with SMTP id gw8mr25334218ejb.192.1604507142101; Wed, 04 Nov 2020 08:25:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604507142; cv=none; d=google.com; s=arc-20160816; b=oZJIvNJPMOTRCYfewjuASK3MDmo3wxnyR93SlCgI79qW0dHxr4sm7tEhyq/JGN8vCs 9EzrYqxvLSguMKW1CArH7wU47gqH+n3ISuHBAKEZatjvjApKBIntRgmMYM9uDzjW9Xpu mPguocAPgWQB3mczf491HuY8cKDscO+Hl+5lxEpaVMsRx/9hql/gNMsN6u2N7JTPpRgO Do4FX9GxftaZN12kSeJSu2m9CUUCauhWbP7mcUUzE4UHaSHfZWwSG9MN6SWib8LKM6bN miRNoTLwkh0pzsk5aw2V54tOs2HLALUjamxJgiY5LSWYL2jzArTs7Gxq2dMMrYrNzCsk pcVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HLzGMSztWgz07v35Jtjii54NsFsWwuKNfNPhB7AbpDE=; b=WzvTlSjFkH3vIPwYAfaGAER/tjL8cQ9AIxsIwGDS+paen3PHAYQjviXjQ2HXej6dIw o4HwLorEsY16I9Zf+YyhndXd2zgvG2njanZqoWxg6qPXn8R0WkyPpTZ3stwbZsy/6UQk 7IG79As/OOrLJrwJGuhGCYI8TGsX/o/5Pbr+kX3YiixDjBYRtA6Ge6MzGrBeOweymCkC Dz1MpczLyQFwkZAJanmfEMFQcroYtC9e5xVpMNjikMGOaJL4lmEO2QjnRi5CRjNKu21e oKRH9F3JyPdV3HtDYnyKgrGVE5SQL+t77c7NaeawDOLC4R/ptLTr1IByKNaf7ujXVDoG wIJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n7NvpaRz; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-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 k10si1512306edk.529.2020.11.04.08.25.41; Wed, 04 Nov 2020 08:25:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-input-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=n7NvpaRz; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-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 S1730918AbgKDQZc (ORCPT + 1 other); Wed, 4 Nov 2020 11:25:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731001AbgKDQZG (ORCPT ); Wed, 4 Nov 2020 11:25:06 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88126C0613D3 for ; Wed, 4 Nov 2020 08:25:05 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id b8so22723023wrn.0 for ; Wed, 04 Nov 2020 08:25:05 -0800 (PST) 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=HLzGMSztWgz07v35Jtjii54NsFsWwuKNfNPhB7AbpDE=; b=n7NvpaRz/v65F5A+1qpFB3soNR/82EQVavWkMbv96kAU4YMRJbHd7l3KsRnNOodaPZ PemLn7Ogcq8PM1/Cr8PBTg5wleTXiAy+X/wEABMnNLO1EnonfgTbrCDp1uA9h8tDB+A1 oKIKOB8lXxRPgeUtHqOicYWZHvQrn4DfyOPk9iRiEsz1obM2VLKogw0LiVmh9tKMn0Vm viL0HhslU49iVhExW1VzATOOLkR4TvgAykDcbPXyV6NKK9e87yF1sPNwEsvOwYMVy3S7 hBW6/vMbuq7WlQhnD46vMUc24C2aOFVnoIVe5BPNiIQ0+fmfn82uFyY2ocqau7nFmDAG kpJQ== 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=HLzGMSztWgz07v35Jtjii54NsFsWwuKNfNPhB7AbpDE=; b=oVmF8FaRB978GtVe+3n6XxEV5+XiQlS2KLFOHH0LlRPfcbOAJ8gf5yqgwG06RPObIj z1YALtAXWOnty0NKs4nL6FzJrKJ2qkuRWx4IstFpc+L3RRntRASD7rChRy+zi+kYNR9K szTEY6aLq55C2X/uu2zNNqTllBcA50wL2p6WUkK542j1IqfrG6xCfEiyjBBtBs0W7pHY zq5i/F3rVwmrIhTcLi5P3P0ZGeXO6sfjGttvOplvpgMjUMGGx5d++1cDBMo/cHT7i9rS mlx0jWu5xE9/kTHTy9AbxV2+IAT5E1j8t10PsWcTYsEYuoxQM2SWmRrmEFNeILavwjap Y6Mg== X-Gm-Message-State: AOAM530xhlj7qbTy3Bw2l6cxHNpAKTkLa/apawxt2QIaUwUTH0p91MXZ HYontyUhK4UVQWW+5T++kIiAbkmSWJo152k1 X-Received: by 2002:adf:ce91:: with SMTP id r17mr34508537wrn.326.1604507104315; Wed, 04 Nov 2020 08:25:04 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id o129sm3008564wmb.25.2020.11.04.08.25.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 08:25:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Dan Murphy , linux-input@vger.kernel.org Subject: [PATCH 18/20] input: misc: drv2667: Fix formatting and add missing member docs Date: Wed, 4 Nov 2020 16:24:25 +0000 Message-Id: <20201104162427.2984742-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104162427.2984742-1-lee.jones@linaro.org> References: <20201104162427.2984742-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' Cc: Dmitry Torokhov Cc: Dan Murphy Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones --- drivers/input/misc/drv2667.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.25.1 diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c index bb9d5784df17d..dc19eb6a8713f 100644 --- a/drivers/input/misc/drv2667.c +++ b/drivers/input/misc/drv2667.c @@ -90,12 +90,14 @@ /** * struct drv2667_data - - * @input_dev - Pointer to the input device - * @client - Pointer to the I2C client - * @regmap - Register map of the device - * @work - Work item used to off load the enable/disable of the vibration - * @regulator - Pointer to the regulator for the IC - * @magnitude - Magnitude of the vibration event + * @input_dev: Pointer to the input device + * @client: Pointer to the I2C client + * @regmap: Register map of the device + * @work: Work item used to off load the enable/disable of the vibration + * @regulator: Pointer to the regulator for the IC + * @page: Page number + * @magnitude: Magnitude of the vibration event + * @frequency: Frequency of the vibration event **/ struct drv2667_data { struct input_dev *input_dev;