all: changed function coding style

Coding style is now 99% compliant with the style used in the Linux kernel. Still not sure wheter to follow the 80 char linelimit, but probably won't.