analog: Cleanup of code style
Undefine stdlib's abs function

Add ifdef for min, max
Kernel style coding implemented for all files

Minor changes to all files to make them compilant with
checkpatch.pl