From patchwork Tue Oct 13 11:54:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 293891 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.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 66A53C433DF for ; Tue, 13 Oct 2020 11:58:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16FBC2173E for ; Tue, 13 Oct 2020 11:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602590308; bh=ouT/IR50K1v6t5GtAH8QVbTfLficJqrmgVtdLLJX39w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EaHs8ChJt4K7pcCISOAOWyxZUughhYh8ETi4rr9q5fe/i6uvaP6EGxPvGHmtkPeGg 9RUWsHckSpibGlrJffeqURwuGha3Mafxt1GPQvPHjnzRBZf6SrTkgdzup5r/1m2FlE Msxrw9WnrIQwlZ3G69FdN4icCbmTeybjI+1az3kg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728296AbgJML61 (ORCPT ); Tue, 13 Oct 2020 07:58:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:57316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727614AbgJMLyp (ORCPT ); Tue, 13 Oct 2020 07:54:45 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 29B0922475; Tue, 13 Oct 2020 11:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602590081; bh=ouT/IR50K1v6t5GtAH8QVbTfLficJqrmgVtdLLJX39w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N2OTkAfXMgbyN3y8gMzUYN07xE51r4Iv03aBSUQTMBWozZpPhVTvcLDPlYFuYQOMm 03inbytb9y6xQ/YdwHPUApp+CJmXjUvOZ3rAQ6JHmkLerK3qEGjKO8XCMIQ2MbqCzC qw6eIFtOn0kE+W6sqFZ91+kze0XdVxECpj/3LoNE= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSIt5-006CWY-PY; Tue, 13 Oct 2020 13:54:39 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 71/80] Input: sparse-keymap: add a description for @sw Date: Tue, 13 Oct 2020 13:54:26 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add a description for it, in order to avoids this warning: ./include/linux/input/sparse-keymap.h:43: warning: Function parameter or member 'sw' not described in 'key_entry' Signed-off-by: Mauro Carvalho Chehab --- include/linux/input/sparse-keymap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/input/sparse-keymap.h b/include/linux/input/sparse-keymap.h index d25d1452dc6e..d0dddc14ebc8 100644 --- a/include/linux/input/sparse-keymap.h +++ b/include/linux/input/sparse-keymap.h @@ -20,6 +20,7 @@ * private definitions. * @code: Device-specific data identifying the button/switch * @keycode: KEY_* code assigned to a key/button + * @sw: struct with code/value used by KE_SW and KE_VSW * @sw.code: SW_* code assigned to a switch * @sw.value: Value that should be sent in an input even when KE_SW * switch is toggled. KE_VSW switches ignore this field and