kbdlogger: Removed buggy code

Code cleanup and write the device and chardev support from scratch
kbdlogger: Fixed Null Pointer dereference bug

Fixed bug at module loading/nloading
Merge branch 'kbdlogger' into next

* kbdlogger:
  kbdlogger: Fixed Null Pointer dereference bug
  kbdlogger: Removed buggy code
Merge branch 'next'

* next:
  kbdlogger: Fixed Null Pointer dereference bug
  kbdlogger: Removed buggy code