From patchwork Mon Dec 1 10:51:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 5411431 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D2D019F1C5 for ; Mon, 1 Dec 2014 10:52:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 186C520295 for ; Mon, 1 Dec 2014 10:52:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 330952026F for ; Mon, 1 Dec 2014 10:52:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752691AbaLAKwF (ORCPT ); Mon, 1 Dec 2014 05:52:05 -0500 Received: from mga09.intel.com ([134.134.136.24]:44808 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752809AbaLAKwE (ORCPT ); Mon, 1 Dec 2014 05:52:04 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 01 Dec 2014 02:49:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,493,1413270000"; d="scan'208";a="646135841" Received: from mylly.fi.intel.com (HELO mylly.fi.intel.com.) ([10.237.72.159]) by orsmga002.jf.intel.com with ESMTP; 01 Dec 2014 02:52:02 -0800 From: Jarkko Nikula To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , Dmitry Torokhov , Jarkko Nikula Subject: [RFC] Input: Remove unused BUS IDs Date: Mon, 1 Dec 2014 12:51:27 +0200 Message-Id: <1417431087-30330-1-git-send-email-jarkko.nikula@linux.intel.com> X-Mailer: git-send-email 2.1.3 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are a few BUS IDs that are not used anywhere in kernel tree: - BUS_ISAPNP Has no changes or use in kernel git history - BUS_GSC Was added by commit 6ab0f5cd3644 ("[PARISC] Update parisc specific input code from parisc tree") but never used - BUS_ATARI Became unused after commit 6615c5b25e0b ("m68k: Atari input drivers cleanup") Signed-off-by: Jarkko Nikula --- I'm not familiar with the input and don't know is there use for these in userspace. Therefore I didn't sort these IDs after removal. --- include/uapi/linux/input.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 1874ebe9ac1e..39d535034169 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -940,7 +940,6 @@ struct input_keymap_entry { #define ID_VERSION 3 #define BUS_PCI 0x01 -#define BUS_ISAPNP 0x02 #define BUS_USB 0x03 #define BUS_HIL 0x04 #define BUS_BLUETOOTH 0x05 @@ -956,8 +955,6 @@ struct input_keymap_entry { #define BUS_ADB 0x17 #define BUS_I2C 0x18 #define BUS_HOST 0x19 -#define BUS_GSC 0x1A -#define BUS_ATARI 0x1B #define BUS_SPI 0x1C /*