On Monday, January 06, 2014 11:34 AM, Sebastian Reichel wrote: > On Mon, Jan 06, 2014 at 11:25:54AM +0900, Jingoo Han wrote: > > IMHO, input_unregister_device() seems to be necessary, > > because input_register_device() is still used. > > If I am wrong, please let me know kindly. > > > > Sebastian Reichel, > > Would you repeat insmod & rmmod 'twl4030_keypad.ko'? > > mh. I only tested with twl4030-keypad compiled into the kernel. > I will try building the driver as module and reloading it on > the device when I find some time. OK, I see. :-) If you repeat at least twice insmod & rmmod 'twl4030_keypad.ko', it will be good. If there are some bugs, it will make the error messages or kernel panic. In my case, Samsung Exynos SPI driver made kernel panic when Repeating insmod & rmmod twice, after the patch to covert to devm_* functions was applied. This was because there was a bug of devm_spi_register_master(). Thank you. Best regards, Jingoo Han -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html