diff options
author | Edward Hill <ecgh@chromium.org> | 2019-10-08 16:25:10 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-15 22:34:41 +0000 |
commit | aa180fc2aa10c94d472d1b80fcf335f3d0d54de9 (patch) | |
tree | b3b3a2c45502f0afb2e2ad23cad31b0a858ac8d0 /common/usbc/usb_pe_drp_sm.c | |
parent | 246e451f5229a392bbcded28eaa16c8c47c4d5d1 (diff) | |
download | chrome-ec-aa180fc2aa10c94d472d1b80fcf335f3d0d54de9.tar.gz |
usbc: rename exe_state to run_state
Just a simple rename. run_state() seems more readable to me,
and "run" is used in many of the related functions and comments.
exe_state used to be called sm_run_state_machine before the great
refactoring of CL:1733744.
BRANCH=none
BUG=none
TEST=build
Change-Id: I5fe9e5b98042d7a5b9b9e9bde48ebecbda420458
Signed-off-by: Edward Hill <ecgh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1848970
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'common/usbc/usb_pe_drp_sm.c')
-rw-r--r-- | common/usbc/usb_pe_drp_sm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usbc/usb_pe_drp_sm.c b/common/usbc/usb_pe_drp_sm.c index cf72a11967..99ae0ab9ed 100644 --- a/common/usbc/usb_pe_drp_sm.c +++ b/common/usbc/usb_pe_drp_sm.c @@ -495,7 +495,7 @@ void pe_run(int port, int evt, int en) } /* Run state machine */ - exe_state(port, &pe[port].ctx); + run_state(port, &pe[port].ctx); break; } } |