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: 11835545 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 04658697 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 D455920878 for ; Tue, 13 Oct 2020 11:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602590307; bh=ouT/IR50K1v6t5GtAH8QVbTfLficJqrmgVtdLLJX39w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=sI6G6P+BJVk8qvZfCQwhNTqiPkliKOENRqb8GARtv0WpNuiyu0PezDXoibKapKvkv 7nxt3I6bIVH/dvcTQd4KrS5e+5qFBaXzWmxeY6bcz3Cp3a5SiXhbFQ7IzGp2cJliwK UKRomiVhH5YLsGaL8jgzSUgZ6T7zyVVlwgVsJdhM= 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