From patchwork Thu Nov 12 11:02:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324159 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp235897ils; Thu, 12 Nov 2020 03:02:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyA3Va6Pxe4FPcNTLsOwA3CjLTQuyO3b7ESmOkEMCsEl1j+Qz18j7r14pV9DidRsJDpupJV X-Received: by 2002:a17:906:8144:: with SMTP id z4mr29078262ejw.251.1605178965095; Thu, 12 Nov 2020 03:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605178965; cv=none; d=google.com; s=arc-20160816; b=Xeo1CMZYyQBWj2b/aebIEwpdwpIdKZ/uDAxZtJMkE29DHQ++8XaGzTngcv017trSFq U1N6DYD7MwNjxNhkH2eZXu7yc8Zv0Z7IQma996s3tZNumCUWbfGR7PPJTOSiHw9KP8Dd IpxtMo1ypCOgmn/WLByJB0NAX/e9Uuv+GI7jvQste/0QLuF3F6Cx+78inMXkEe3bsrlL YuKZNvLR7s+mxc4vImpuzkDyvoNbWGjh+QYj0A4pHfNU5bUkH1y7UWx4ul3R40R7EvyR CzV+khpXTufQg/rczlSuDMYNwrNrfK8BHcctEbFdqr9dpTMiITjRWoxyPXJThWxeROG+ PfQQ== 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=lDq1ucxwNVdiyOuGDpG3UuS4AQsRLKqvrJ8cBQ65tp8=; b=f1Tmfes6mjjExT7X/sEu8joD3nh3LyNV5vhIUN0Mh8wlqiou8/R4hY0Qd6oontMqBB zg9fsK4ovLGdO7zxEEt8fCtPzNe9oX8XHW/+4IBg7xVYEDTz7oZGG44Ua8EClSgWknrX /5BN6Ow8ySFtiQEe/MM8LudPZMEnqfQ/BtWa6POFIoaeLDAECxXFP94koSNLePmVjUjI AqRNBpvhXwzzYBVM8O6pdE61ulfHPVs7iNoddXJ/GFFzsSK6eytpTKiy7v5HytLkyjhY t72JkUcTQDE34yZd/90fJamuQ1TFc+MkDK7VhJ7pXjqzA382TwEW/ZzIADAaD4FHbSnZ K/4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FztJ+8sX; 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 a3si3941027ejd.407.2020.11.12.03.02.44; Thu, 12 Nov 2020 03:02:45 -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=FztJ+8sX; 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 S1728089AbgKLLCm (ORCPT + 1 other); Thu, 12 Nov 2020 06:02:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728070AbgKLLCa (ORCPT ); Thu, 12 Nov 2020 06:02:30 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C9F0C061A4E for ; Thu, 12 Nov 2020 03:02:27 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id a3so5083994wmb.5 for ; Thu, 12 Nov 2020 03:02:27 -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=lDq1ucxwNVdiyOuGDpG3UuS4AQsRLKqvrJ8cBQ65tp8=; b=FztJ+8sXVteaVXQlm1MysT50leos1FgWA71xWpI6b3mwdJ/d/0+JXHOTe8qhRiYbwI EU+0NpeyNV3G3gR8P4TPI48MF+tY+7BYbiJSA2wHhPosXHVoYlZH7OIL9usqmtqgkjGT 0zEbOY0mQ1sM3RR+AuS/PBKBrI9okpRyT6BRUYl5O86GEmsFlHD8WFtDWUJ4Ph3Be7DA mnSaqE91cvIPS/6egGhg++TjpAaxQwfZaRU1GJGe58FesqMy6zdOrwyRWBTkglbWn13i C/Hrp2aUvP+O4mlHL4x2gx6sCS2HO2LazlfJc+cXrGtjovpeRgOxeZ2DwgaGj9Wv+gpT IdNw== 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=lDq1ucxwNVdiyOuGDpG3UuS4AQsRLKqvrJ8cBQ65tp8=; b=a2iqh3ceGQiuCzNr/MlznLZ/GCBfhYp877SkckTnEJC/hK+Sp/ngmMbF2L5O+X5OKj giuQ9V0Wp7R3VX7syOLxlLFJMXvsm25zBLkgmbV60F3LJcFtzqKYEknYBgiFH2c2Yk38 VKs+W8ZkkfffE/Tpcngm/89smmPAsz50zdNcTPKeUyPPToM8qqXOXAJnJDwroxN9ATLH y0XX1yoLLc5qUthRb+vD8inGWosf2Kvw6u4Tww0gBMyNIdIK/AWDQ2S9dO3UrsIjAuAu P+o27CI1Xeb45bWRzqZ41uO62LEE7zT12j2OdmK+MWMxjHJz58Qwk8LssoCaXc9rYA0M SXHw== X-Gm-Message-State: AOAM532kSKA6xw5rgyY5mZViyUoQNCTdmcKZbYjMEjoq+mlgBk9CMNvG L+weadr2iTQrJB88K2WAffPaqg== X-Received: by 2002:a1c:87:: with SMTP id 129mr9252628wma.34.1605178946051; Thu, 12 Nov 2020 03:02:26 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id x81sm6515329wmg.5.2020.11.12.03.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 03:02:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Henrik Rydberg , "Gustavo A. R. Silva" , linux-input@vger.kernel.org Subject: [PATCH 14/15] input: keyboard: applespi: Provide missing struct 'message' descriptions Date: Thu, 12 Nov 2020 11:02:03 +0000 Message-Id: <20201112110204.2083435-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112110204.2083435-1-lee.jones@linaro.org> References: <20201112110204.2083435-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/keyboard/applespi.c:306: warning: Function parameter or member 'keyboard' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'touchpad' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'tp_info' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'tp_info_command' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'init_mt_command' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'capsl_command' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'bl_command' not described in 'message' drivers/input/keyboard/applespi.c:306: warning: Function parameter or member 'data' not described in 'message' Cc: Dmitry Torokhov Cc: Henrik Rydberg Cc: "Gustavo A. R. Silva" Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones --- drivers/input/keyboard/applespi.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.25.1 diff --git a/drivers/input/keyboard/applespi.c b/drivers/input/keyboard/applespi.c index 14362ebab9a9d..8053a3d2ff635 100644 --- a/drivers/input/keyboard/applespi.c +++ b/drivers/input/keyboard/applespi.c @@ -286,6 +286,15 @@ struct command_protocol_bl { * structure (after re-assembly in case of being split over * multiple spi-packets), minus the trailing crc. The total size * of the message struct is therefore @length + 10. + * + * @keyboard: Keyboard message + * @touchpad: Touchpad message + * @tp_info: Touchpad info (response) + * @tp_info_command: Touchpad info (CRC) + * @init_mt_command: Initialise Multitouch + * @capsl_command: Toggle caps-lock LED + * @bl_command: Keyboard brightness + * @data: Buffer data */ struct message { __le16 type;