diff options
author | Ting Shen <phoenixshen@google.com> | 2022-07-07 17:56:36 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-08 03:23:14 +0000 |
commit | 0e3fa7b8aa981586db664c5a83912759ad31d1ee (patch) | |
tree | 1abe086b795332ecad9aea4e5da1fb0eeddd8e7a | |
parent | ff6603b54621276b7236139c050504c74e7ee4cb (diff) | |
download | chrome-ec-0e3fa7b8aa981586db664c5a83912759ad31d1ee.tar.gz |
steelix: fix typo
from -> form
BUG=none
TEST=zmake build steelix
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ic1bfed029c5aeb0906b9bb1a08f7f6b87ac22398
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3751016
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Tested-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r-- | zephyr/projects/corsola/cbi_steelix.dts | 4 | ||||
-rw-r--r-- | zephyr/projects/corsola/src/kingler/led_steelix.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/projects/corsola/cbi_steelix.dts b/zephyr/projects/corsola/cbi_steelix.dts index 052bf23b5d..bd511e5427 100644 --- a/zephyr/projects/corsola/cbi_steelix.dts +++ b/zephyr/projects/corsola/cbi_steelix.dts @@ -11,8 +11,8 @@ * FW_CONFIG field to indicate the device is clamshell * or convertible. */ - from_factor { - enum-name = "FROM_FACTOR"; + form_factor { + enum-name = "FORM_FACTOR"; start = <13>; size = <3>; diff --git a/zephyr/projects/corsola/src/kingler/led_steelix.c b/zephyr/projects/corsola/src/kingler/led_steelix.c index 8a97253557..986203eaa9 100644 --- a/zephyr/projects/corsola/src/kingler/led_steelix.c +++ b/zephyr/projects/corsola/src/kingler/led_steelix.c @@ -95,9 +95,9 @@ static bool device_is_clamshell(void) int ret; uint32_t val; - ret = cros_cbi_get_fw_config(FROM_FACTOR, &val); + ret = cros_cbi_get_fw_config(FORM_FACTOR, &val); if (ret != 0) { - LOG_ERR("Error retrieving CBI FW_CONFIG field %d", FROM_FACTOR); + LOG_ERR("Error retrieving CBI FW_CONFIG field %d", FORM_FACTOR); return false; } |