input: fix rx51 board keymap
authorAmit Kucheria <amit.kucheria@verdurent.com>
Mon, 12 Oct 2009 16:13:41 +0000 (09:13 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Oct 2009 16:13:41 +0000 (09:13 -0700)
commitf77bb7927a91c19b74ede21626ef5cd0a6fa074d
treeebdf05bc780ba2d59fdf083111ebe8f1eaade69b
parente40f6fdba02a6d9ae06bb9c47a67f76b3fa57a57
input: fix rx51 board keymap

The original driver was written with the KEY() macro defined as (col, row)
instead of (row, col) as defined by the matrix keypad infrastructure. So the
keymap was defined accordingly.

Since the driver that was merged upstream uses the matrix keypad
infrastructure, modify the keymap accordingly.

While we are at it, fix the comments in twl4030.h and define PERSISTENT_KEY as
(r,c) instead of (c, r)

Tested on a RX51 (N900) device.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Lauri Leukkunen <lauri.leukkunen@nokia.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>