diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-11-29 10:05:58 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-29 22:40:13 +0000 |
commit | ea174bbf20cd6616321c889e8106786ccca3cf88 (patch) | |
tree | 58b11fd7430cfa48830859bdac60591ad0873c26 /zephyr/test | |
parent | f8de1825d4e008c0059f8c995b948c3ffc457423 (diff) | |
download | chrome-ec-ea174bbf20cd6616321c889e8106786ccca3cf88.tar.gz |
zephyr: Sort remaining includes
This is the last of the files in platform/ec.
Sort all includes with the clang-format rules used by the zephyr
project.
BRANCH=None
BUG=b:247100970
TEST=zmake build -a
TEST=./twister --clobber -v -i
TEST=make -j72 buildall_only runtests
TEST=zmake compare-builds
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I95e37e74d860cbb7c74ec478b543aef0b0e967e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4062620
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Sam Hurst <shurst@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/test')
-rw-r--r-- | zephyr/test/drivers/usbc_ctvpd/src/main.c | 15 | ||||
-rw-r--r-- | zephyr/test/krabby/src/usbc_config.c | 8 |
2 files changed, 12 insertions, 11 deletions
diff --git a/zephyr/test/drivers/usbc_ctvpd/src/main.c b/zephyr/test/drivers/usbc_ctvpd/src/main.c index 391a006370..0bd6639d83 100644 --- a/zephyr/test/drivers/usbc_ctvpd/src/main.c +++ b/zephyr/test/drivers/usbc_ctvpd/src/main.c @@ -3,11 +3,6 @@ * found in the LICENSE file. */ -#include <stdint.h> -#include <zephyr/kernel.h> -#include <zephyr/ztest.h> -#include <zephyr/drivers/gpio/gpio_emul.h> - #include "ec_commands.h" #include "ec_tasks.h" #include "emul/emul_isl923x.h" @@ -16,13 +11,19 @@ #include "emul/tcpc/emul_tcpci_partner_snk.h" #include "emul/tcpc/emul_tcpci_partner_src.h" #include "host_command.h" -#include "test/drivers/stubs.h" #include "tcpm/tcpci.h" -#include "test/drivers/utils.h" +#include "test/drivers/stubs.h" #include "test/drivers/test_state.h" +#include "test/drivers/utils.h" #include "test_usbc_ctvpd.h" #include "usb_pd_vdo.h" +#include <stdint.h> + +#include <zephyr/drivers/gpio/gpio_emul.h> +#include <zephyr/kernel.h> +#include <zephyr/ztest.h> + #define TEST_PORT 0 BUILD_ASSERT(TEST_PORT == USBC_PORT_C0); diff --git a/zephyr/test/krabby/src/usbc_config.c b/zephyr/test/krabby/src/usbc_config.c index ea9c4b3eed..0b6c8bc80d 100644 --- a/zephyr/test/krabby/src/usbc_config.c +++ b/zephyr/test/krabby/src/usbc_config.c @@ -3,10 +3,6 @@ * found in the LICENSE file. */ -#include <zephyr/devicetree.h> -#include <zephyr/drivers/emul.h> -#include <zephyr/ztest.h> - #include "adc.h" #include "charge_manager.h" #include "driver/ppc/syv682x.h" @@ -17,6 +13,10 @@ #include "usb_pd.h" #include "usbc_ppc.h" +#include <zephyr/devicetree.h> +#include <zephyr/drivers/emul.h> +#include <zephyr/ztest.h> + bool ppc_sink_enabled(int port) { const struct emul *emul = (port == 0) ? |