Change function names to lowercase

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Put increment statement in extra line

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fix 80 characters limit issues

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Remove unnecessary newlines

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>