From 7deb0f2324ea5ac1680ed08acac23425aa9489b7 Mon Sep 17 00:00:00 2001 From: Andrew McRae Date: Sun, 13 Feb 2022 11:22:31 +1100 Subject: 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 Change-Id: Ifd6bb8e0974ead5f99b3bf3c49a35683dc2bb043 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3459582 Reviewed-by: Keith Short Commit-Queue: Keith Short --- zephyr/shim/src/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zephyr') 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 -- cgit v1.2.1