summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-06-30 14:39:49 -0700
committerCommit Bot <commit-bot@chromium.org>2021-07-01 17:16:21 +0000
commit28b95b786aca0fd6d169f292ebed4158385d2a93 (patch)
tree8f50c89aa1ae617e70a6590a698a5bfe61aa2ae9 /include/system.h
parent636ec31a9a2be517eb37d4dad7dfe1a192471745 (diff)
downloadchrome-ec-28b95b786aca0fd6d169f292ebed4158385d2a93.tar.gz
system: Rename reset_flags used in system_encode_save_flags
There is a variable named reset_flags, which is shared by all code in system.c. system_encode_save_flags gives its parameter the same name. This patch renames the local variable to remove the confusion. There is no functionality change. BUG=None BRANCH=None TEST=buildall Change-Id: I9838d8d4c77e3a266731a840c70a77ddf1cefb25 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2998512 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/system.h b/include/system.h
index 03ab3f9a05..deb97b5023 100644
--- a/include/system.h
+++ b/include/system.h
@@ -89,10 +89,10 @@ __test_only void system_override_jdata(void *test_jdata);
/**
* Set up flags that should be saved to battery backed RAM.
*
- * @param reset_flags - flags passed into system_reset
+ * @param flags - flags passed into system_reset (i.e. SYSTEM_RESET_*)
* @param *save_flags - flags to be saved in battery backed RAM
*/
-void system_encode_save_flags(int reset_flags, uint32_t *save_flags);
+void system_encode_save_flags(int flags, uint32_t *save_flags);
/**
* Get the reset flags.