lg.ko module can be loaded and unloaded without crashing. init_module function is not common any more, but we have tried to keep a common core.c file

Signed-off-by: Stefan Manea <fanymanea@yahoo.com>