From: David Härdeman Date: Fri, 2 Apr 2010 18:58:29 +0000 (-0300) Subject: V4L/DVB: ir-core: improve keyup/keydown logic X-Git-Tag: v2.6.35-rc1~480^2~238 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a374fef4437abd0a1ee27afe0cca7a55425c1c3c;p=pandora-kernel.git V4L/DVB: ir-core: improve keyup/keydown logic Rewrites the keyup/keydown logic in drivers/media/IR/ir-keytable.c. All knowledge of keystates etc is now internal to ir-keytable.c and not scattered around ir-raw-event.c and ir-nec-decoder.c (where it doesn't belong). In addition, I've changed the API slightly so that ir_input_dev is passed as the first argument rather than input_dev. If we're ever going to support multiple keytables we need to move towards making ir_input_dev the main interface from a driver POV and obscure away the input_dev as an implementational detail in ir-core. Signed-off-by: David Härdeman Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed