From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: [PATCH v2 0/9] Implement sparse keymap library Date: Thu, 03 Dec 2009 22:11:52 -0800 Message-ID: <20091204060701.28288.91430.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Sender: linux-input-owner@vger.kernel.org To: linux-input@vger.kernel.org, Len Brown Cc: linux-acpi@vger.kernel.org, Herton Ronaldo Krzesinski , Harald Welte , Corentin Chary , Carlos Corbacho , Wu Zhangjin , Anisse Astier List-Id: linux-acpi@vger.kernel.org It seems that almost everty platform driver out there copied the keymap implementation from wistron button driver... That's a lot of duplicated code and I think it is high time we split it into a library module that can be shared between all these drivers. Changes since v1: added sparse_keymap_report_event() and sparse_keymap_report_entry() to furger reduce code in the drivers. Len, what would be the best way to merge this? The patches touch a few of the platform drivers and I would like to get it done sooner than later because teh patch converting EVIOCGKEYCODE and EVIOCSKEYCODE to use unisgned int instead of signed int scancodes depends on it. Thanks. -- Dmitry