From patchwork Wed Nov 22 17:49:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 10070687 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E64F16038F for ; Wed, 22 Nov 2017 17:50:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5FCB29AB5 for ; Wed, 22 Nov 2017 17:50:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7F9429B60; Wed, 22 Nov 2017 17:50:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04A5A29AB5 for ; Wed, 22 Nov 2017 17:50:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752200AbdKVRts (ORCPT ); Wed, 22 Nov 2017 12:49:48 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:46348 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752197AbdKVRtr (ORCPT ); Wed, 22 Nov 2017 12:49:47 -0500 Received: from localhost (unknown [185.156.173.27]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 99F62AD6; Wed, 22 Nov 2017 17:49:46 +0000 (UTC) From: Greg Kroah-Hartman To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH 6/6] Input: remove remaining unneeded MODULE_VERSION() usage Date: Wed, 22 Nov 2017 18:49:21 +0100 Message-Id: <20171122174921.20192-7-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171122174921.20192-1-gregkh@linuxfoundation.org> References: <20171122174921.20192-1-gregkh@linuxfoundation.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP MODULE_VERSION is useless for in-kernel drivers, so just remove all usage of it in the remaining few input drivers that still used it (input-polldev and sparse-keymap). Cc: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/input-polldev.c | 1 - drivers/input/sparse-keymap.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/input/input-polldev.c b/drivers/input/input-polldev.c index 3664f81655ca..78df5a74822e 100644 --- a/drivers/input/input-polldev.c +++ b/drivers/input/input-polldev.c @@ -20,7 +20,6 @@ MODULE_AUTHOR("Dmitry Torokhov "); MODULE_DESCRIPTION("Generic implementation of a polled input device"); MODULE_LICENSE("GPL v2"); -MODULE_VERSION("0.1"); static void input_polldev_queue_work(struct input_polled_dev *dev) { diff --git a/drivers/input/sparse-keymap.c b/drivers/input/sparse-keymap.c index fd03e55768c9..0cad5e7c559b 100644 --- a/drivers/input/sparse-keymap.c +++ b/drivers/input/sparse-keymap.c @@ -21,7 +21,6 @@ MODULE_AUTHOR("Dmitry Torokhov "); MODULE_DESCRIPTION("Generic support for sparse keymaps"); MODULE_LICENSE("GPL v2"); -MODULE_VERSION("0.1"); static unsigned int sparse_keymap_get_key_index(struct input_dev *dev, const struct key_entry *k)