From patchwork Mon May 17 19:18:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "dhprince.devel@yahoo" X-Patchwork-Id: 100187 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4HJIQ8i024902 for ; Mon, 17 May 2010 19:18:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755694Ab0EQTSZ (ORCPT ); Mon, 17 May 2010 15:18:25 -0400 Received: from smtp109.plus.mail.re1.yahoo.com ([69.147.102.72]:37754 "HELO smtp109.plus.mail.re1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755552Ab0EQTSY (ORCPT ); Mon, 17 May 2010 15:18:24 -0400 Received: (qmail 61188 invoked from network); 17 May 2010 19:18:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:Content-Type:Content-Transfer-Encoding; b=BklnI7H/1QtbByJ+F155ObzxdG7OemlB81ZIfy6iuLGRciJdLJwPvsVED48228uFN4e+V31sVbTYPSR0tsYZefUPtnKEhgSHGAc301b/E0IyRtIN8vHsAjOyz+ZD5IpbXPUUod4n4HBoFtJQ9o200Kv3jXMYwoWqObToax1VM1Q= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1274123903; bh=E3zf74uSPzpi3qzvmyET4EAwjPvOANcc1EYIYl1DlkQ=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:Content-Type:Content-Transfer-Encoding; b=EvMkn7x7wzVzGdvuN72OuZ9guoXlhl5Z2TTPO33I8LCFNdcwCtdNelsaWQXgdPyaP0If9wzua9RSAjnVHbGHnd0Wc8P5nDzMuFAPWWLDAG/QXR4UGsmNQpUxn70an7oQvg0ILv7GXJBmsDCTQhbMrxqk3kCp2GidqLv54j8q8fY= Received: from [192.168.1.163] (dhprince.devel@93.97.169.38 with plain) by smtp109.plus.mail.re1.yahoo.com with SMTP; 17 May 2010 12:18:23 -0700 PDT X-Yahoo-SMTP: 7VYQSIiswBBpfI3oQQ5mbefGCpOrHbDC5qsO X-YMail-OSG: YzXKG5AVM1ksUvqGFEiDgOCe.6oXewztcvFYRGN0gIN9uDh gDS7Ztp91kQqqwhPv9FlNo82foJyEbIfOS5k2yKd1HLDk14CT5F3QWIpEP1K 1swM_owwZsWt.0ZLp.8mh3lAzKbJSPw5qJAmcO.0q2TlmAe._RVHPbtyrfAm Gve0t9N_27dGBIfyCjTlUvj3KVuPk6WVSTxiAA3M9Bo3s9nmd.Jzf3fXP_u. SEUFZCvnAFuuCdDPRQMWjexFWB6VQak2EwTWO_YbOuJjCBwM.OTdAtfVDpuj GG6A7iyM2X1U5B6EsbKoJD8FtFVgiAjtu5emVOExCt9LJH6BaUUUweQO_5rn ieNKCtTk7Jyr6QHn84HbtPgn8iGokH6qaNYDbxxT.7S8d3P5RXYiKqFb4qjH KOX1I9qRDKEeKN8Ekz5cRlkwwEk0rB6itX3VgjIw- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4BF1967D.3060404@yahoo.co.uk> Date: Mon, 17 May 2010 20:18:21 +0100 From: Don Prince Reply-To: dhprince.devel@yahoo.co.uk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100422 Mandriva/3.0.4-0.4mdv2010.0 (2010.0) Thunderbird/3.0.4 MIME-Version: 1.0 To: Jiri Kosina CC: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2.6.34-rc7] HID: remove redundant key mappings from Desktop Wireless 6000 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 17 May 2010 19:18:26 +0000 (UTC) diff -X /opt/scripts/diff-exclude.txt -Npaur a/drivers/hid/hid-samsung.c b/drivers/hid/hid-samsung.c --- a/drivers/hid/hid-samsung.c 2010-05-17 11:01:26.772377750 +0100 +++ b/drivers/hid/hid-samsung.c 2010-05-17 20:04:36.988502775 +0100 @@ -112,13 +112,6 @@ static int samsung_kbd_mouse_input_mappi switch (usage->hid & HID_USAGE) { /* report 2 */ - case 0x0b5: samsung_kbd_mouse_map_key_clear(KEY_NEXTSONG); break; - case 0x0b6: samsung_kbd_mouse_map_key_clear(KEY_PREVIOUSSONG); break; - case 0x0b7: samsung_kbd_mouse_map_key_clear(KEY_STOPCD); break; - case 0x0cd: samsung_kbd_mouse_map_key_clear(KEY_PLAYPAUSE); break; - case 0x0e2: samsung_kbd_mouse_map_key_clear(KEY_MUTE); break; - case 0x0e9: samsung_kbd_mouse_map_key_clear(KEY_VOLUMEUP); break; - case 0x0ea: samsung_kbd_mouse_map_key_clear(KEY_VOLUMEDOWN); break; case 0x183: samsung_kbd_mouse_map_key_clear(KEY_MEDIA); break; case 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break; case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break;