diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-04-14 13:27:51 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-14 20:33:29 +0000 |
commit | 982ccd411a167d3a9adc4777997d3742fad2dbf9 (patch) | |
tree | 72fce9434e92e61dcb6a27fd236789c851ae82a6 /zephyr/Kconfig.pd_meas_vbus | |
parent | 265691a2fe290e0fa54ecccba151a5c63dd73e47 (diff) | |
download | chrome-ec-982ccd411a167d3a9adc4777997d3742fad2dbf9.tar.gz |
zephyr: Kconfig: fix few choice symbols format
Choice entries expects a symbol (or nothing) as the argument. The
symbol is only used to have choices in multiple files (which we don't)
and for documentation referencing.
This renames few instances of descriptions where there should be a
symbol around various Kconfig files, and cleans up various
choice/endchoice definition cosmetic inconsistencies.
BUG=none
BRANCH=none
TEST=ninja menuconfig
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Link: https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html#kconfig-syntax
Change-Id: I040bc9008d6c97bf96d8cf4f37384504ccda78b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3586429
Reviewed-by: Sam Hurst <shurst@google.com>
Diffstat (limited to 'zephyr/Kconfig.pd_meas_vbus')
-rw-r--r-- | zephyr/Kconfig.pd_meas_vbus | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/Kconfig.pd_meas_vbus b/zephyr/Kconfig.pd_meas_vbus index 7597e7045a..9cf0edec0a 100644 --- a/zephyr/Kconfig.pd_meas_vbus +++ b/zephyr/Kconfig.pd_meas_vbus @@ -5,7 +5,7 @@ if PLATFORM_EC_USBC if PLATFORM_EC_USB_POWER_DELIVERY -choice "Measuring VBUS voltage" +choice PLATFORM_EC_USB_PD_VBUS_MEASURE_MODE prompt "Select how VBUS voltage is measured" optional @@ -39,7 +39,7 @@ config PLATFORM_EC_USB_PD_VBUS_MEASURE_BY_BOARD Enable this if there are different VBUS measurement approaches on the board, and also `board_get_vbus_voltage()` has to be implemented. -endchoice # Measuring VBUS voltage +endchoice # PLATFORM_EC_USB_PD_VBUS_MEASURE_MODE endif # PLATFORM_EC_USB_POWER_DELIVERY endif # PLATFORM_EC_USBC |