From patchwork Thu Dec 10 13:18:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anisse Astier X-Patchwork-Id: 66256 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nBADRrin018037 for ; Thu, 10 Dec 2009 13:27:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759946AbZLJN1p (ORCPT ); Thu, 10 Dec 2009 08:27:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759910AbZLJN1o (ORCPT ); Thu, 10 Dec 2009 08:27:44 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:37968 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759310AbZLJN1k (ORCPT ); Thu, 10 Dec 2009 08:27:40 -0500 Received: by ewy19 with SMTP id 19so4303590ewy.21 for ; Thu, 10 Dec 2009 05:27:46 -0800 (PST) Received: by 10.213.47.9 with SMTP id l9mr2639804ebf.93.1260451665478; Thu, 10 Dec 2009 05:27:45 -0800 (PST) Received: from localhost.localdomain (253.175.70-86.rev.gaoland.net [86.70.175.253]) by mx.google.com with ESMTPS id 14sm508811ewy.11.2009.12.10.05.27.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Dec 2009 05:27:44 -0800 (PST) From: Anisse Astier To: linux-acpi@vger.kernel.org, linux-input@vger.kernel.org Cc: Dmitry Torokhov , Len Brown , Matthew Garrett , Thomas Renninger , Carlos Corbacho , Matt Chen , Anisse Astier Subject: [PATCH 5/7] msi-wmi: remove unused field 'instance' in key_entry structure Date: Thu, 10 Dec 2009 14:18:17 +0100 Message-Id: <1260451099-25620-6-git-send-email-anisse@astier.eu> X-Mailer: git-send-email 1.6.5.3 In-Reply-To: <1260451099-25620-1-git-send-email-anisse@astier.eu> References: <1260451099-25620-1-git-send-email-anisse@astier.eu> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c index 75e422b..d757935 100644 --- a/drivers/platform/x86/msi-wmi.c +++ b/drivers/platform/x86/msi-wmi.c @@ -56,7 +56,6 @@ struct key_entry { char type; /* See KE_* below */ u16 code; u16 keycode; - int instance; ktime_t last_pressed; }; @@ -67,10 +66,10 @@ struct key_entry { enum { KE_KEY, KE_END }; static struct key_entry msi_wmi_keymap[] = { - { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, 0, {0, } }, - { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, 1, {0, } }, - { KE_KEY, 0xd2, KEY_VOLUMEUP, 2, {0, } }, - { KE_KEY, 0xd3, KEY_VOLUMEDOWN, 3, {0, } }, + { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, {0, } }, + { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, {0, } }, + { KE_KEY, 0xd2, KEY_VOLUMEUP, {0, } }, + { KE_KEY, 0xd3, KEY_VOLUMEDOWN, {0, } }, { KE_END, 0} };