diff options
author | Andrew McRae <amcrae@google.com> | 2022-02-13 11:22:31 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-14 21:48:30 +0000 |
commit | 7deb0f2324ea5ac1680ed08acac23425aa9489b7 (patch) | |
tree | a2892f30a77f58505148e5f492cdf1f722e4e3a7 | |
parent | e0d1514be373ac4e532e7d36caacb845a2686b95 (diff) | |
download | chrome-ec-7deb0f2324ea5ac1680ed08acac23425aa9489b7.tar.gz |
zephyr: Fix comment referencing function
Reference the Zephyr GPIO API instead of the
legacy API.
BUG=b:216466985
TEST=zmake testall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ifd6bb8e0974ead5f99b3bf3c49a35683dc2bb043
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3459582
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/shim/src/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/shim/src/flash.c b/zephyr/shim/src/flash.c index 31f4c3d03b..8261fb5633 100644 --- a/zephyr/shim/src/flash.c +++ b/zephyr/shim/src/flash.c @@ -205,7 +205,7 @@ SHELL_CMD_REGISTER(flashchip, NULL, "Information about flash chip", /* * The priority flash_dev_init should be lower than GPIO initialization because - * it calls gpio_get_level function. + * it calls gpio_pin_get_dt function. */ #if CONFIG_PLATFORM_EC_FLASH_INIT_PRIORITY <= \ CONFIG_PLATFORM_EC_GPIO_INIT_PRIORITY |