From patchwork Fri Mar 26 14:34:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 409508 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1489307jai; Fri, 26 Mar 2021 07:36:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlfphuQma814LmIbLtq3A2k8FOO+N3GLOY4E3mAitU2/hBnBpy9KLoxX2x1T5zrRlBxO4Q X-Received: by 2002:a17:907:75c7:: with SMTP id jl7mr16320422ejc.191.1616769388322; Fri, 26 Mar 2021 07:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616769388; cv=none; d=google.com; s=arc-20160816; b=u9pUCEHisVAfSEWaV2gqp7I2f1eD4lpnZ3uefcrTudYs5lP90J9D44ZWVceFlNywP+ AJgKywME5BaP9e62AS/mpjMiNCrNzMAiLDmnzjCff1719UvjJGsle56LNtGqFs+JuOyN 5Om8MbN1ml/6DIApThemilEIEIHGtPJP+Rk2qpSWh7zLNqCAB9RMN1nIvR5H/IPfKdyf 9ujWdixq0kKKwhahzlLZ9cZj9xiUgQchC356lxqsLCrBGcXBd5A5ZGxka0XEWmKqAIDA A3Y9YtzEdchxdGdUVVKrXyAk4+/WJgbbeWTi4w8SyYQrNOlYyp9ABFp+5BVzIkASoXLe iw/Q== 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=cQiBvBGnEPCfXvDLlcXYmYRETtwubP2zncCLn7n+qro=; b=V5fb5NIYHBrvVaEbFZuYZlUqJQNVwGCkJMAWFnVeCTgQxVU7/mlniXiDjj4vYBUj36 tv/4tEFMGLkhIMrr5Og5iIp2+Tn8vtfH6X2y5q5B+XWJBHJMA6sceYHIy+lDN0mImt09 AUckA76IPIq7VcngPvO/UGQenLLtXkLuHZn8b9IN647o0gPoYX+K2eVUKsb6Mq5oxCxR 5Bh92e811AUEjiZ3Y0jFFi8LXOJcblydhKyuBW/FBpLKH4MusA524a74SXz+2edBqxf5 HlrnJ281oR14OnJGpwBmEEAWizlLP8KcX129uRr5l7l61+8swDLrOFF1makZjj+DXX32 mlcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I00rzJ2P; 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 e16si2126144edz.7.2021.03.26.07.36.28; Fri, 26 Mar 2021 07:36:28 -0700 (PDT) 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=I00rzJ2P; 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 S230520AbhCZOgB (ORCPT + 1 other); Fri, 26 Mar 2021 10:36:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230378AbhCZOf1 (ORCPT ); Fri, 26 Mar 2021 10:35:27 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 279B5C0613B4 for ; Fri, 26 Mar 2021 07:35:27 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id e18so5871460wrt.6 for ; Fri, 26 Mar 2021 07:35:27 -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=cQiBvBGnEPCfXvDLlcXYmYRETtwubP2zncCLn7n+qro=; b=I00rzJ2Pb7xw7qyx/Ux/iw5avL4Qa+ePqFm2O47i8SPa2MwvByhdllikoreR5RZPq5 gmf29+BchuESCtjhbW500HI1pMhjDYSqXRz0zpDsl0VWtvfTtm+yyvYEQLZq7ygzrLax uhk3PwjegUKYtD9HfqGHoLz2N1l+lBtd/82MXC7T39KAink0dpxWK8q0V+o75Bz6ijTg VQELl51GdcI6SVg266nyjrsOigDblcjUYU/UG48jNjSZGpYeMgUzogjETeYNI8OXS9ws bzBYIx32n/T5T2bFM/Cb5T+T45cBCLIOP22bxe37CEx/vLAW5+ETfsOQhYNDt5YYlW+o duEg== 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=cQiBvBGnEPCfXvDLlcXYmYRETtwubP2zncCLn7n+qro=; b=XQlREJeY545Sn9idcDZVEjEOe9AtzaB6U9SLdVA32pSfKQJvtoMLTpyZ3G71PfCyU2 wDRXXdQ+d2YzM8EvFsQifTf3WaQ7EXD1Yn3GPvu/Du3sx7lKltInqlPPrP8V+9NraR9F KGLHJrDJyEbYOT2xGcVyzFIIcOREo8KSZ8pQ/mSxA/9GYxGDmtkcT/dWj+dUJyTKv1Ai u5No63RXRwzjiz4NkBJu1QOIgKfgN5cm2tOy6P/U7Gkb+E3Ky02/wnirH7Ybigd/sVkA Fgv2vbyqKXd8lbTFIIr+9mwtMrhGZHPJKSdI+pUZ+TCu2u8k7+4KqNjaujTGAbW3wlZS 8HHQ== X-Gm-Message-State: AOAM533r30f7UsIsgx2mk1SBLyb5DnCTJo0IWSa6WpZAbeX/KU5vEMkf UnhTWa9cjjfB4cCdLIWNZicTRw== X-Received: by 2002:adf:e34f:: with SMTP id n15mr14838333wrj.224.1616769325875; Fri, 26 Mar 2021 07:35:25 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id j26sm12878225wrh.57.2021.03.26.07.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 07:35:25 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jiri Kosina , Jonathan Cameron , Srinivas Pandruvada , Benjamin Tissoires , linux-input@vger.kernel.org, linux-iio@vger.kernel.org Subject: [PATCH 23/25] HID: hid-sensor-hub: Move 'hsdev' description to correct struct definition Date: Fri, 26 Mar 2021 14:34:56 +0000 Message-Id: <20210326143458.508959-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210326143458.508959-1-lee.jones@linaro.org> References: <20210326143458.508959-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/hid/hid-sensor-hub.c:54: warning: Function parameter or member 'hsdev' not described in 'hid_sensor_hub_callbacks_list' Cc: Jiri Kosina Cc: Jonathan Cameron Cc: Srinivas Pandruvada Cc: Benjamin Tissoires Cc: linux-input@vger.kernel.org Cc: linux-iio@vger.kernel.org Signed-off-by: Lee Jones --- drivers/hid/hid-sensor-hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 Acked-by: Jonathan Cameron diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 36b6852f75dd5..95cf88f3bafb9 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -18,7 +18,6 @@ /** * struct sensor_hub_data - Hold a instance data for a HID hub device - * @hsdev: Stored hid instance for current hub device. * @mutex: Mutex to serialize synchronous request. * @lock: Spin lock to protect pending request structure. * @dyn_callback_list: Holds callback function @@ -41,6 +40,7 @@ struct sensor_hub_data { * struct hid_sensor_hub_callbacks_list - Stores callback list * @list: list head. * @usage_id: usage id for a physical device. + * @hsdev: Stored hid instance for current hub device. * @usage_callback: Stores registered callback functions. * @priv: Private data for a physical device. */