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_frs | |
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_frs')
-rw-r--r-- | zephyr/Kconfig.pd_frs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/Kconfig.pd_frs b/zephyr/Kconfig.pd_frs index 4d1ce5cacc..8883542c56 100644 --- a/zephyr/Kconfig.pd_frs +++ b/zephyr/Kconfig.pd_frs @@ -22,7 +22,7 @@ config PLATFORM_EC_USB_PD_FRS if PLATFORM_EC_USB_PD_FRS -choice "Trigger implementation" +choice PLATFORM_EC_USB_PD_FRS_MODE prompt "Select where the trigger is implemented" help The Fast Role Swap (protocol requires that a trigger be implemented to @@ -42,7 +42,7 @@ config PLATFORM_EC_USB_PD_FRS_TCPC Enable this if the Fast Role Swap trigger is implemented in the Type-C Port Controller (TCPC). -endchoice # Trigger implementation +endchoice # PLATFORM_EC_USB_PD_FRS_MODE endif # PLATFORM_EC_USB_PD_FRS |