Staging: sm7xx: removing extra white spaces,redundant code and using macros