fix almost all checkpatch warnings and errors

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>