mediatek: Refine whitespace and formating changes
commitf42db110d0174f05745e3558067d114eae37825b
authorTristan Shieh <tristan.shieh@mediatek.com>
Wed, 6 Jun 2018 04:52:20 +0000 (6 12:52 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 7 Jun 2018 07:42:43 +0000 (7 07:42 +0000)
treea5a52a630e8704369f57d6d21077e95c13733cb7
parent794284ff0ee92f7f60c4d33dbf43bf007979389c
mediatek: Refine whitespace and formating changes

This patch fix whitespace and formating issues:
1. Using two spaces between code and single line comment.
2. No space after asterisk.
3. Fix checkpatch error.
4. Remove spaces after cast operators.

BUG=b:80501386
BRANCH=none
TEST=the refactored code works fine on the new platform (with the rest
     of the patches applied) and Elm platform

Change-Id: Ib36c99b141c94220776fab606eb36af8f64f65bb
Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com>
Reviewed-on: https://review.coreboot.org/26880
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
17 files changed:
src/soc/mediatek/mt8173/dramc_pi_basic_api.c
src/soc/mediatek/mt8173/dramc_pi_calibration_api.c
src/soc/mediatek/mt8173/include/soc/ddp.h
src/soc/mediatek/mt8173/include/soc/dsi.h
src/soc/mediatek/mt8173/include/soc/flash_controller.h
src/soc/mediatek/mt8173/include/soc/mcucfg.h
src/soc/mediatek/mt8173/include/soc/pericfg.h
src/soc/mediatek/mt8173/include/soc/pmic_wrap.h
src/soc/mediatek/mt8173/include/soc/spm.h
src/soc/mediatek/mt8173/include/soc/timer.h
src/soc/mediatek/mt8173/include/soc/usb.h
src/soc/mediatek/mt8173/mt6391.c
src/soc/mediatek/mt8173/pll.c
src/soc/mediatek/mt8173/pmic_wrap.c
src/soc/mediatek/mt8173/rtc.c
src/soc/mediatek/mt8173/uart.c
src/soc/mediatek/mt8173/wdt.c