On 10/05/2010 09:17 PM, Dmitry Torokhov wrote: > As discussed previously I'd like to see the driver using as much of > matrix_keypad infrastructure as practical and also to see the initial > keypad copied into the spear_kbd structure to ensure that the board code > could be made const and bind/rebind of the device would restore the > original keymap. > Dmitry, As suggested in V1, we have used KEY() macro from matrix_keypad.h file. Also we are allocating memory for keymap in driver itself in probe. Then we are copying keymap in from plat data. This makes it restore to original keymap on every bind/rebind of device. Is there anything else we need to do?? -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html