From patchwork Mon Feb 11 15:53:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pandruvada, Srinivas" X-Patchwork-Id: 2124801 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id D1094DF23E for ; Mon, 11 Feb 2013 15:53:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757580Ab3BKPx4 (ORCPT ); Mon, 11 Feb 2013 10:53:56 -0500 Received: from mga09.intel.com ([134.134.136.24]:21702 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757569Ab3BKPxz convert rfc822-to-8bit (ORCPT ); Mon, 11 Feb 2013 10:53:55 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 11 Feb 2013 07:52:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,643,1355126400"; d="scan'208";a="284231813" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga002.jf.intel.com with ESMTP; 11 Feb 2013 07:53:32 -0800 Received: from orsmsx108.amr.corp.intel.com ([169.254.9.196]) by ORSMSX101.amr.corp.intel.com ([169.254.8.227]) with mapi id 14.01.0438.000; Mon, 11 Feb 2013 07:53:32 -0800 From: "Pandruvada, Srinivas" To: Mika Westerberg , "linux-kernel@vger.kernel.org" CC: Jiri Kosina , Benjamin Tissoires , "linux-input@vger.kernel.org" Subject: RE: [PATCH 2/3] HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table Thread-Topic: [PATCH 2/3] HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table Thread-Index: AQHOCELB0ob0haaJJECJz0w+g52q7Zh0zq9g Date: Mon, 11 Feb 2013 15:53:31 +0000 Message-ID: <4FA419E87744DF4DAECD5BCE1214B7A91E00EB72@ORSMSX108.amr.corp.intel.com> References: <1360578679-7029-1-git-send-email-mika.westerberg@linux.intel.com> <1360578679-7029-2-git-send-email-mika.westerberg@linux.intel.com> In-Reply-To: <1360578679-7029-2-git-send-email-mika.westerberg@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This was added to load sensor hub driver on USB plug in without explicit modprobe. But with last few changes to remove vendor and product id, we need to do modprobe this driver. So removal is OK. Thanks, Srinivas -----Original Message----- From: Mika Westerberg [mailto:mika.westerberg@linux.intel.com] Sent: Monday, February 11, 2013 2:31 AM To: linux-kernel@vger.kernel.org Cc: Jiri Kosina; Benjamin Tissoires; linux-input@vger.kernel.org; Pandruvada, Srinivas; Mika Westerberg Subject: [PATCH 2/3] HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table This table is not used anywhere in the driver so kill it. Signed-off-by: Mika Westerberg --- drivers/hid/hid-sensor-hub.c | 5 ----- 1 file changed, 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index c06e933..2643bce9 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -608,11 +608,6 @@ static const struct hid_device_id sensor_hub_devices[] = { }; MODULE_DEVICE_TABLE(hid, sensor_hub_devices); -static const struct hid_usage_id sensor_hub_grabbed_usages[] = { - { HID_ANY_ID, HID_ANY_ID, HID_ANY_ID }, - { HID_ANY_ID - 1, HID_ANY_ID - 1, HID_ANY_ID - 1 } -}; - static struct hid_driver sensor_hub_driver = { .name = "hid-sensor-hub", .id_table = sensor_hub_devices, -- 1.7.10.4