Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp963344pxk; Thu, 10 Sep 2020 03:29:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjxZPUokw+ueNWyWQPTvsLW/um52daEIlkajHvx8KJFzea6hYBWDAHVU4FVWQO6f7ytZZZ X-Received: by 2002:a50:9e4c:: with SMTP id z70mr8311829ede.384.1599733752558; Thu, 10 Sep 2020 03:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599733752; cv=none; d=google.com; s=arc-20160816; b=bKqiQnwr9efWRcs8xx5S5LsE49v/UeiX9e1U4aB0Dod5r0jAkOq2aB0N7niH0n/pW/ xZDNJWQrw3llw9eI9hMLSFctzN1GrH0KRMY0vuN/Jus7cWY12wZgLoxH4rTrV7CNcohL 9WDdQEo0tEtPhWiG1HXKcndBKTiBUFX/2RTxZsY8LD323GiD1K/Z27XMgHdFMw/4PrCI GOkINZar+0peveVt1UkilRpLlPs0KNTAGpg4/VkvM0AeXzTcJDYdq2JYSbBUP5TmkytD V+6vIZNHZINflGQmTqi4lHk8+/TKX84shcx27MmGZs6X3U8qoGFh0Pys45UmX3x8POPn nWvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cxS2mT2K//IsXiitDKx7yoGVIUXgZ11anT3QINyFsmw=; b=s7/XMOCvezJxl0mSiohZakq3yHOEtuEJyzTcyNEOylbDUmSVkWgkhjKLw6LArlW3zU SiToMHOlmgk7HTF3WgwOiO0cQ/YRWXw2kV+VK7NQXe88BqRo50pobAaomH7yhN9v8rwG mgyS4BF7XnWiCznIQO9uVbT8GDpJznBbg8jJWX3zXHoj4WrDRBhNoi8fIYrxQbLkpThk e+QPsspry3TwjCSxVOrzoaysGv9rooG+ldHCmSXQUDOApjb6nKSHchVLp8EbSU8nvnx8 d7Xq7ACpWqvnZ3BE6FZPZKXL5NRFFSqeLfE+XzBc7cEoIj1rtlVIuRZnQyuF6UGj680z Ce8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DcGShKJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qq6si3122581ejb.100.2020.09.10.03.28.49; Thu, 10 Sep 2020 03:29:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=DcGShKJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730997AbgIJK1b (ORCPT + 99 others); Thu, 10 Sep 2020 06:27:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:35370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbgIJKYL (ORCPT ); Thu, 10 Sep 2020 06:24:11 -0400 Received: from mail.kernel.org (ip5f5ad5ac.dynamic.kabel-deutschland.de [95.90.213.172]) (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 7668220BED; Thu, 10 Sep 2020 10:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599733450; bh=ouT/IR50K1v6t5GtAH8QVbTfLficJqrmgVtdLLJX39w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DcGShKJx8pxf00qeLhKF2wCw+wLrfJYOFAHbOaZPiRoLpvB3cAVURWYW4v9x/4bSV SEyYlbOdgewr6BG1DVIKsO0MDnlYWsnK2phHyUVM1mFsZL/xCut6pRbgtw6i9rfZ0M frlB84+FrlPyYVB0IW6WIiC6urWT7wHEtAAQPHNo= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kGJkO-00EINz-Iw; Thu, 10 Sep 2020 12:24:08 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH 09/14] Input: sparse-keymap: add a description for @sw Date: Thu, 10 Sep 2020 12:24:02 +0200 Message-Id: <252df3dd23da1d11e312a97a50d7582f7b3b3c5c.1599732764.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.26.2