diff options
author | Simon Glass <sjg@chromium.org> | 2023-05-08 16:01:39 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-11 14:04:25 +0000 |
commit | 47acf64182ccc833bb590c6d307d6e7c66a93360 (patch) | |
tree | 551e66d043888d04d9507865a8265285032defc1 /include/charge_state.h | |
parent | 67debcce5555daf1c24e1eada34f7607bf041308 (diff) | |
download | chrome-ec-47acf64182ccc833bb590c6d307d6e7c66a93360.tar.gz |
charger: Rename charge_get_state() to led_pwr_get_state()
We have a new 'charge state' in struct charge_state_data as part of the
charge_state_v2.h file. This is confusing.
Rename this function to match the enum it is referencing.
This makes no functional change.
BUG=b:218332694
TEST=make buildall
Change-Id: I7f08dd4fb11e2939e0ef779018c1e3206ebc8d20
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4516188
Commit-Queue: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index 6d9c1d5b19..57f9521b0e 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -75,7 +75,7 @@ enum led_pwr_state { /** * Return current charge state. */ -enum led_pwr_state charge_get_state(void); +enum led_pwr_state led_pwr_get_state(void); /** * Return current charge v2 state. |