Input: ibmasm - convert to dynamic input_dev allocation Here is a fixed up patch that adds the mouse_dev = NULL to prevent freeing memory twice. Update the ibmasm driver to use the dynamic allocation of input_dev structs to work with the sysfs subsystem. Vernon: Added mouse_dev = NULL to error handling Vojtech: Fixed some problems/bugs in the patch. Dmitry: Fixed some more. Signed-off-by: Vernon Mauery Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov Signed-off-by: Vernon Mauery --- ibmasm.h | 6 ++-- remote.c | 84 ++++++++++++++++++++++++++++++++++++--------------------------- 2 files changed, 52 insertions(+), 38 deletions(-)