summaryrefslogtreecommitdiff
path: root/board/host/charger.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-12-17 13:43:17 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-19 00:12:28 +0000
commit6ab8e91658f1efc894b648cc0748af8d804915e4 (patch)
treec33da7914793452ecb37084e505230171d4eff9e /board/host/charger.c
parente5935f17d1798a1f19c6003e57f140446774484f (diff)
downloadchrome-ec-6ab8e91658f1efc894b648cc0748af8d804915e4.tar.gz
cleanup: Remove checkpatch warnings
This make minor syntactic changes and renames some camel-cased symbols to keep checkpatch from complaining. The goal is to reduce the temptation to use 'repo upload --no-verify'. This is a big furball of find/replace, but no functional changes. BUG=chromium:322144 BRANCH=none TEST=build all boards; pass unit tests Change-Id: I0269b7dd95836ef9a6e33f88c003ab0f24f842a0 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/180495
Diffstat (limited to 'board/host/charger.c')
-rw-r--r--board/host/charger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/host/charger.c b/board/host/charger.c
index d5396c7418..8a5a2e3c53 100644
--- a/board/host/charger.c
+++ b/board/host/charger.c
@@ -26,9 +26,9 @@ static const struct charger_info mock_charger_info = {
#define OPTION_CHARGE_INHIBIT (1 << 0)
-static uint32_t mock_option = 0;
-static uint32_t mock_current = 0;
-static uint32_t mock_voltage = 0;
+static uint32_t mock_option;
+static uint32_t mock_current;
+static uint32_t mock_voltage;
const struct charger_info *charger_get_info(void)
{