Simon Que has uploaded a new change for review.
Change subject: Cleanup formatting
......................................................................
Cleanup formatting
Made the following formatting changes:
- Pointer declarations should be "void* ptr" as opposed to "void *ptr".
- Statements that wrap to a new line should be indented by four spaces
unless otherwise aligned:
long_result_name =
LongExpressionThatWontFitOnOneLine(arg0, arg1, arg2, arg3);
- Fix mis-alignments.
- Reduced number of lines with more efficient expression wrapping.
- Removed unnecessary parentheses around return values.
- Put parentheses around comparison expressions that are used as
rvalues:
bool result = (actual_value == expected_value);
- Declare variables as they are used, rather than at the top of a
function.
- Avoid abbreviations like "ev", "retval", and "cmd". Acronyms like
"fd" are retained.
- Remove unsed parameter names in function declarations.
BUG=chromium-os:28305
TEST=build, unit tests pass.
Change-Id: I060fbdd6b40c56bcafeee9fd60fd00a0cd155e7a
Signed-off-by: Simon Que <
sq...@chromium.org>
---
M backlight_dbus_tool.cc
M external_backlight.cc
M file_tagger.cc
M file_tagger.h
M inotify.cc
M inotify.h
M input.cc
M internal_backlight_controller.cc
M mock_xsync.cc
M mock_xsync.h
M monitor_reconfigure.cc
M power_supply.cc
M power_supply.h
M powerd.cc
M powerd.h
M powerman.cc
M state_control.cc
M util.cc
M util.h
M util_dbus.cc
M xidle.cc
M xsync.cc
M xsync.h
M xsync_interface.h
24 files changed, 115 insertions(+), 121 deletions(-)
git pull ssh://
gerrit.chromium.org:29418/chromiumos/platform/power_manager refs/changes/95/22595/1
--
To view, visit
https://gerrit.chromium.org/gerrit/22595
To unsubscribe, visit
https://gerrit.chromium.org/gerrit/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I060fbdd6b40c56bcafeee9fd60fd00a0cd155e7a
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/platform/power_manager
Gerrit-Branch: master
Gerrit-Owner: Simon Que <
sq...@chromium.org>