Updated some doxygen docs and fixed all checkpatch errors.