summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-07-23 16:32:18 -0700
committerChromeBot <chrome-bot@google.com>2013-07-24 12:09:47 -0700
commit8cd69cfe53b1243e76d2054f7682b32b675bae9c (patch)
treedeeba4e75fa6214022f59a2c23b4d9a674b5f4aa /common
parenteda52c4ab4c8c3090a07132a4f66efd3a639badd (diff)
downloadchrome-ec-8cd69cfe53b1243e76d2054f7682b32b675bae9c.tar.gz
Clean up and document more config options
No functional changes, just renaming config options. Remove README, now that all options described in it have been moved to config.h, and the remaining information is out of date. (Yes, we should have a README which describes the organization of the EC repository, but that's a matter for another CL; this one's about cleaning up config options.) BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms Change-Id: Iafefbe94369f1217c698f11d358bc0ecac2bdfde Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63145 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/charge_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/charge_state.c b/common/charge_state.c
index 95b366d6b6..8d605ec03e 100644
--- a/common/charge_state.c
+++ b/common/charge_state.c
@@ -848,11 +848,11 @@ static int charge_command_charge_control(struct host_cmd_handler_args *args)
if (rv != EC_SUCCESS)
return rv;
-#ifdef CONFIG_CMD_DISCHARGE_ON_AC
+#ifdef CONFIG_CHARGER_DISCHARGE_ON_AC
rv = board_discharge_on_ac(p->mode == CHARGE_CONTROL_DISCHARGE);
if (rv != EC_SUCCESS)
return rv;
-#endif /* CONFIG_CMD_DISCHARGE_ON_AC */
+#endif
return EC_RES_SUCCESS;
}