CRAS: Format cras_alsa_helper
Reformat codes with the .clang-format we just introduced.
To format whole files provided in-place:
clang-format -i -style=file [<file> ...]
Add () for the 3 of CH_TO_CRAS(ch) and CH_TO_ALSA, otherwise,
clang-format will regard ((ch) - 3) as type casting and format it to
(ch)-3.
BUG=chromium:950858
TEST=Add directory to check_format_error and run
FEATURES="test" USE=asan emerge-${BOARD} -v media-sound/adhd
Change-Id: I41d4ccd03042098966aad6a778fbfa5202155225
Reviewed-on: https://chromium-review.googlesource.com/1670837
Tested-by: En-Shuo Hsu <enshuo@google.com>
Commit-Ready: En-Shuo Hsu <enshuo@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
2 files changed