From 0ce1c0db7c906943d22c58c50d2182e87f46de8c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 18 Oct 2021 17:34:12 +0000 Subject: tree: Files should end with single newline One of the checks that runs as part of "repo upload" looks for a single newline at the end of each file. I'm getting warnings about this when I touch files that do not follow this, even though I didn't add the extra newlines. This commit fixes all files by running the following: for f in $(find . -name '*.[ch]'); do printf '%s\n' "$(cat ${f})" > ${f}; done BRANCH=none BUG=b:172020503 TEST=./util/compare_build.sh -b all -j 120 => MATCH Signed-off-by: Tom Hughes Change-Id: Ia3ece5b64b549d21ca11708791368002bb6e9b0e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229797 Reviewed-by: Aseda Aboagye --- baseboard/dedede/variant_ec_it8320.c | 1 - baseboard/honeybuns/usbc_support.c | 1 - baseboard/intelrvp/adlrvp_battery2s.c | 1 - baseboard/intelrvp/adlrvp_battery3s.c | 1 - baseboard/kukui/battery_max17055.c | 1 - board/akemi/led.c | 1 - board/ampton/led.c | 1 - board/bobba/led.c | 1 - board/cappy2/battery.c | 1 - board/casta/led.c | 1 - board/chocodile_vpdmcu/usb_pd_config.h | 1 - board/delbin/led.c | 1 - board/dood/led.c | 1 - board/eldrid/led.c | 1 - board/fleex/led.c | 1 - board/foob/led.c | 1 - board/galtic/usb_pd_policy.c | 1 - board/garg/led.c | 1 - board/hadoken/board.c | 1 - board/hadoken/board.h | 1 - board/hatch/led.c | 1 - board/helios/led.c | 1 - board/host/usb_pd_config.c | 1 - board/jslrvp_ite/battery.c | 1 - board/kakadu/board.c | 1 - board/katsu/board.c | 1 - board/kindred/led.c | 1 - board/kukui_scp/board.c | 1 - board/lick/led.c | 1 - board/lindar/battery.c | 1 - board/madoo/led.c | 1 - board/meep/led.c | 1 - board/metaknight/led.c | 2 -- board/mushu/led.c | 1 - board/nautilus/battery.c | 1 - board/nucleo-g431rb/board.c | 1 - board/palkia/led.c | 1 - board/phaser/led.c | 1 - board/pirika/usb_pd_policy.c | 1 - board/poppy/battery.c | 1 - board/rammus/battery.c | 1 - board/redrix/fans.c | 1 - board/sasuke/led.c | 1 - board/sasukette/usb_pd_policy.c | 1 - board/servo_v4/usb_pd_config.h | 1 - board/servo_v4p1/usb_pd_config.h | 1 - board/servo_v4p1/usb_tc_snk_sm.c | 1 - board/shuboz/board.c | 1 - board/stm32f446e-eval/board.c | 1 - board/storo/usb_pd_policy.c | 1 - board/stryke/led.c | 1 - board/taeko/usbc_config.h | 1 - board/woomax/led.c | 1 - board/woomax/thermal.c | 1 - board/yorp/led.c | 1 - chip/it83xx/dac_chip.h | 1 - chip/lm4/clock.c | 1 - chip/mchp/dma_chip.h | 1 - chip/mchp/gpio.c | 1 - chip/mchp/gpio_chip.h | 1 - chip/mchp/gpio_cmds.c | 1 - chip/mchp/gpspi.c | 1 - chip/mchp/gpspi_chip.h | 1 - chip/mchp/lpc.c | 1 - chip/mchp/port80.c | 1 - chip/mchp/qmspi.c | 1 - chip/mchp/qmspi_chip.h | 1 - chip/mchp/spi_chip.h | 1 - chip/mchp/system.c | 1 - chip/mec1322/spi.c | 1 - chip/npcx/i2c-npcx5.c | 1 - chip/npcx/keyboard_raw.c | 1 - chip/npcx/sib.c | 1 - chip/npcx/sib_chip.h | 1 - chip/npcx/spiflashfw/npcx_monitor.c | 1 - chip/nrf51/bluetooth_le.c | 1 - chip/nrf51/config_chip.h | 1 - chip/nrf51/hwtimer.c | 1 - chip/nrf51/i2c.c | 1 - chip/nrf51/radio.c | 1 - chip/nrf51/radio_test.c | 1 - chip/nrf51/registers.h | 1 - chip/stm32/clock-stm32g4.c | 1 - chip/stm32/config-stm32f09x.h | 1 - chip/stm32/dma-stm32f4.c | 1 - chip/stm32/i2c-stm32f0.c | 1 - chip/stm32/registers-stm32g4.h | 1 - chip/stm32/registers-stm32l4.h | 1 - chip/stm32/registers-stm32l5.h | 1 - chip/stm32/usb_power.c | 1 - chip/stm32/usb_power.h | 1 - common/backlight_lid.c | 2 -- common/bluetooth_le.c | 1 - common/btle_ll.c | 1 - common/chipset.c | 1 - common/gesture.c | 1 - common/host_command_controller.c | 1 - common/host_command_pd.c | 1 - common/i2c_wedge.c | 1 - common/init_rom.c | 1 - common/keyboard_8042.c | 1 - common/led_policy_std.c | 1 - common/motion_lid.c | 1 - common/power_button.c | 1 - common/printf.c | 1 - common/spi_commands.c | 1 - common/virtual_battery.c | 1 - cts/common/dut_common.c | 1 - driver/als_bh1730.h | 1 - driver/battery/bq27541.c | 1 - driver/battery/bq27621_g1.c | 1 - driver/battery/bq4050.c | 1 - driver/mag_lis2mdl.h | 1 - driver/mp4245.c | 1 - driver/ppc/rt1718s.h | 1 - driver/sync.c | 1 - driver/sync.h | 1 - driver/tcpm/anx7447.c | 1 - driver/tcpm/fusb307.c | 1 - driver/temp_sensor/adt7481.c | 1 - driver/temp_sensor/oti502.c | 1 - driver/temp_sensor/tmp411.c | 1 - driver/temp_sensor/tmp432.c | 1 - driver/touchpad_st.h | 1 - fuzz/host_command_fuzz.c | 1 - fuzz/usb_tcpm_v2_rev20_fuzz.c | 1 - include/battery_bq27621_g1.h | 1 - include/battery_smart.h | 1 - include/btle_hci2.h | 1 - include/btle_hci_int.h | 1 - include/charge_state_v1.h | 1 - include/display_7seg.h | 1 - include/motion_lid.h | 2 -- include/usb_bb.h | 1 - include/usb_pd_policy.h | 1 - include/usb_tc_sm.h | 1 - include/vec4.h | 1 - test/motion_angle_data_literals.c | 1 - test/motion_common.c | 2 -- test/rsa.c | 1 - test/usb_pd_console.c | 1 - test/usb_sm_checks.c | 1 - test/usb_sm_checks.h | 2 +- test/usb_typec_ctvpd.c | 1 - third_party/bmi220/accelgyro_bmi220_config_tbin.h | 1 - third_party/bmi260/accelgyro_bmi260_config_tbin.h | 1 - util/ecst.c | 1 - util/misc_util.c | 1 - util/uut/opr.c | 1 - zephyr/include/dt-bindings/wake_mask_event_defines.h | 1 - zephyr/include/emul/emul_tcpci.h | 1 - zephyr/shim/chip/npcx/npcx_monitor/npcx_monitor.c | 1 - zephyr/test/drivers/src/ppc_syv682c.c | 2 +- zephyr/test/i2c/src/main.c | 1 - 154 files changed, 2 insertions(+), 158 deletions(-) diff --git a/baseboard/dedede/variant_ec_it8320.c b/baseboard/dedede/variant_ec_it8320.c index 59f07da086..e8560a8bc0 100644 --- a/baseboard/dedede/variant_ec_it8320.c +++ b/baseboard/dedede/variant_ec_it8320.c @@ -104,4 +104,3 @@ const struct i2c_port_t i2c_ports[] = { }, }; const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); - diff --git a/baseboard/honeybuns/usbc_support.c b/baseboard/honeybuns/usbc_support.c index 4d7049ad37..d1b23ef40b 100644 --- a/baseboard/honeybuns/usbc_support.c +++ b/baseboard/honeybuns/usbc_support.c @@ -477,4 +477,3 @@ void baseboard_usbc_usb3_irq(void) #endif /* defined(GPIO_USBC_UF_ATTACHED_SRC) */ #endif /* defined(SECTION_IS_RW) */ - diff --git a/baseboard/intelrvp/adlrvp_battery2s.c b/baseboard/intelrvp/adlrvp_battery2s.c index bc61b407a0..84465426e3 100644 --- a/baseboard/intelrvp/adlrvp_battery2s.c +++ b/baseboard/intelrvp/adlrvp_battery2s.c @@ -45,4 +45,3 @@ const struct board_batt_params board_battery_info[] = { BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_GETAC_SMP_HHP_408; - diff --git a/baseboard/intelrvp/adlrvp_battery3s.c b/baseboard/intelrvp/adlrvp_battery3s.c index 315d5c247e..612a542aea 100644 --- a/baseboard/intelrvp/adlrvp_battery3s.c +++ b/baseboard/intelrvp/adlrvp_battery3s.c @@ -45,4 +45,3 @@ const struct board_batt_params board_battery_info[] = { BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_GETAC_SMP_HHP_408; - diff --git a/baseboard/kukui/battery_max17055.c b/baseboard/kukui/battery_max17055.c index 6247f665aa..53e72766a7 100644 --- a/baseboard/kukui/battery_max17055.c +++ b/baseboard/kukui/battery_max17055.c @@ -185,4 +185,3 @@ int get_battery_manufacturer_name(char *dest, int size) strzcpy(dest, name[BATT_ID], size); return EC_SUCCESS; } - diff --git a/board/akemi/led.c b/board/akemi/led.c index ef31d2dead..80d52f7cc2 100644 --- a/board/akemi/led.c +++ b/board/akemi/led.c @@ -112,4 +112,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/ampton/led.c b/board/ampton/led.c index e8c2c35d11..40b0acdd9c 100644 --- a/board/ampton/led.c +++ b/board/ampton/led.c @@ -73,4 +73,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/bobba/led.c b/board/bobba/led.c index d833554ab4..d247ad0128 100644 --- a/board/bobba/led.c +++ b/board/bobba/led.c @@ -71,4 +71,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/cappy2/battery.c b/board/cappy2/battery.c index aa81d0b353..a0aef7bd4c 100644 --- a/board/cappy2/battery.c +++ b/board/cappy2/battery.c @@ -175,4 +175,3 @@ enum ec_status charger_profile_override_set_param(uint32_t param, { return EC_RES_INVALID_PARAM; } - diff --git a/board/casta/led.c b/board/casta/led.c index 514ec096a5..2c4cc63f80 100644 --- a/board/casta/led.c +++ b/board/casta/led.c @@ -128,4 +128,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/chocodile_vpdmcu/usb_pd_config.h b/board/chocodile_vpdmcu/usb_pd_config.h index a6c1adbc61..048bbf3988 100644 --- a/board/chocodile_vpdmcu/usb_pd_config.h +++ b/board/chocodile_vpdmcu/usb_pd_config.h @@ -160,4 +160,3 @@ static inline int pd_adc_read(int port, int cc) } #endif /* __CROS_EC_USB_PD_CONFIG_H */ - diff --git a/board/delbin/led.c b/board/delbin/led.c index 27f63c9544..d7c1df491f 100644 --- a/board/delbin/led.c +++ b/board/delbin/led.c @@ -103,4 +103,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/dood/led.c b/board/dood/led.c index 966f3d7a72..3f6958b1bc 100644 --- a/board/dood/led.c +++ b/board/dood/led.c @@ -71,4 +71,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/eldrid/led.c b/board/eldrid/led.c index 3cbf06c123..26526e0b76 100644 --- a/board/eldrid/led.c +++ b/board/eldrid/led.c @@ -145,4 +145,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/fleex/led.c b/board/fleex/led.c index 4d89f657cd..bf3fd6ccec 100644 --- a/board/fleex/led.c +++ b/board/fleex/led.c @@ -77,4 +77,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/foob/led.c b/board/foob/led.c index c08203ccda..bb7764dadd 100644 --- a/board/foob/led.c +++ b/board/foob/led.c @@ -110,4 +110,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/galtic/usb_pd_policy.c b/board/galtic/usb_pd_policy.c index dde6d5c318..3190595596 100644 --- a/board/galtic/usb_pd_policy.c +++ b/board/galtic/usb_pd_policy.c @@ -59,4 +59,3 @@ int pd_set_power_supply_ready(int port) return EC_SUCCESS; } - diff --git a/board/garg/led.c b/board/garg/led.c index 6e0306edd9..bc77efe9b9 100644 --- a/board/garg/led.c +++ b/board/garg/led.c @@ -71,4 +71,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/hadoken/board.c b/board/hadoken/board.c index d9c8ed322f..a0268aa686 100644 --- a/board/hadoken/board.c +++ b/board/hadoken/board.c @@ -9,4 +9,3 @@ /* To define the gpio_list[] instance. */ #include "gpio_list.h" - diff --git a/board/hadoken/board.h b/board/hadoken/board.h index ef4b45640d..f3e8eab8ca 100644 --- a/board/hadoken/board.h +++ b/board/hadoken/board.h @@ -37,4 +37,3 @@ #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ - diff --git a/board/hatch/led.c b/board/hatch/led.c index 1c44d12d89..d03aed0585 100644 --- a/board/hatch/led.c +++ b/board/hatch/led.c @@ -77,4 +77,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/helios/led.c b/board/helios/led.c index 94f5bdb973..7a63c4401c 100644 --- a/board/helios/led.c +++ b/board/helios/led.c @@ -105,4 +105,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/host/usb_pd_config.c b/board/host/usb_pd_config.c index 91c30d1755..878e747342 100644 --- a/board/host/usb_pd_config.c +++ b/board/host/usb_pd_config.c @@ -32,4 +32,3 @@ test_mockable int pd_adc_read(int port, int cc) /* Not implemented */ return 0; } - diff --git a/board/jslrvp_ite/battery.c b/board/jslrvp_ite/battery.c index 3584aec56d..908a02843f 100644 --- a/board/jslrvp_ite/battery.c +++ b/board/jslrvp_ite/battery.c @@ -75,4 +75,3 @@ const struct board_batt_params board_battery_info[] = { BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_SIMPLO_SMP_CA_445; - diff --git a/board/kakadu/board.c b/board/kakadu/board.c index dd36672bfe..8d91d06832 100644 --- a/board/kakadu/board.c +++ b/board/kakadu/board.c @@ -519,4 +519,3 @@ void board_fill_source_power_info(int port, r->meas.current_lim = 1500; r->max_power = r->meas.voltage_now * r->meas.current_max; } - diff --git a/board/katsu/board.c b/board/katsu/board.c index e487538180..6484778b13 100644 --- a/board/katsu/board.c +++ b/board/katsu/board.c @@ -421,4 +421,3 @@ void board_fill_source_power_info(int port, r->meas.current_lim = 1500; r->max_power = r->meas.voltage_now * r->meas.current_max; } - diff --git a/board/kindred/led.c b/board/kindred/led.c index 9eb195d0b6..ff91d15424 100644 --- a/board/kindred/led.c +++ b/board/kindred/led.c @@ -78,4 +78,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/kukui_scp/board.c b/board/kukui_scp/board.c index e5c4f0c760..d86e7e5fc6 100644 --- a/board/kukui_scp/board.c +++ b/board/kukui_scp/board.c @@ -18,4 +18,3 @@ /* Build GPIO tables */ #include "gpio_list.h" - diff --git a/board/lick/led.c b/board/lick/led.c index a55a3e989e..a7832c5e78 100644 --- a/board/lick/led.c +++ b/board/lick/led.c @@ -110,4 +110,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/lindar/battery.c b/board/lindar/battery.c index 503b2f11c0..533db6ae0d 100644 --- a/board/lindar/battery.c +++ b/board/lindar/battery.c @@ -133,4 +133,3 @@ __override bool board_battery_is_initialized(void) !!(batt_status & STATUS_INITIALIZED)); return batt_initialization_state; } - diff --git a/board/madoo/led.c b/board/madoo/led.c index d6bed74e4b..aef7b0e425 100644 --- a/board/madoo/led.c +++ b/board/madoo/led.c @@ -179,4 +179,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/meep/led.c b/board/meep/led.c index 5494f11361..e20a88d268 100644 --- a/board/meep/led.c +++ b/board/meep/led.c @@ -124,4 +124,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/metaknight/led.c b/board/metaknight/led.c index 10edf9068e..466037695c 100644 --- a/board/metaknight/led.c +++ b/board/metaknight/led.c @@ -77,5 +77,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) } return EC_SUCCESS; } - - diff --git a/board/mushu/led.c b/board/mushu/led.c index 18600ee245..a5d81fabd4 100644 --- a/board/mushu/led.c +++ b/board/mushu/led.c @@ -77,4 +77,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/nautilus/battery.c b/board/nautilus/battery.c index 642497cdfe..aaa4a43c06 100644 --- a/board/nautilus/battery.c +++ b/board/nautilus/battery.c @@ -221,4 +221,3 @@ enum battery_present battery_is_present(void) batt_pres_prev = batt_pres; return batt_pres; } - diff --git a/board/nucleo-g431rb/board.c b/board/nucleo-g431rb/board.c index 01f8a55629..2daf157e22 100644 --- a/board/nucleo-g431rb/board.c +++ b/board/nucleo-g431rb/board.c @@ -31,4 +31,3 @@ static void led_second(void) gpio_set_level(GPIO_LED1, count++ & 0x1); } DECLARE_HOOK(HOOK_SECOND, led_second, HOOK_PRIO_DEFAULT); - diff --git a/board/palkia/led.c b/board/palkia/led.c index c7607960e5..df74a38d52 100644 --- a/board/palkia/led.c +++ b/board/palkia/led.c @@ -105,4 +105,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/phaser/led.c b/board/phaser/led.c index 6ef2d786c0..cce1c3289e 100644 --- a/board/phaser/led.c +++ b/board/phaser/led.c @@ -110,4 +110,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/pirika/usb_pd_policy.c b/board/pirika/usb_pd_policy.c index b0e1098e4d..15faf41ffc 100644 --- a/board/pirika/usb_pd_policy.c +++ b/board/pirika/usb_pd_policy.c @@ -59,4 +59,3 @@ int pd_set_power_supply_ready(int port) return EC_SUCCESS; } - diff --git a/board/poppy/battery.c b/board/poppy/battery.c index 3f6c4e273d..4085651cc2 100644 --- a/board/poppy/battery.c +++ b/board/poppy/battery.c @@ -223,4 +223,3 @@ enum battery_present battery_is_present(void) batt_pres_prev = battery_check_present_status(); return batt_pres_prev; } - diff --git a/board/rammus/battery.c b/board/rammus/battery.c index 916aac5fd3..1ae15e9dcc 100644 --- a/board/rammus/battery.c +++ b/board/rammus/battery.c @@ -127,4 +127,3 @@ enum battery_present battery_is_present(void) batt_pres_prev = batt_pres; return batt_pres; } - diff --git a/board/redrix/fans.c b/board/redrix/fans.c index afa735e929..d464eeab67 100644 --- a/board/redrix/fans.c +++ b/board/redrix/fans.c @@ -64,4 +64,3 @@ const struct fan_t fans[FAN_CH_COUNT] = { .rpm = &fan_rpm_1, }, }; - diff --git a/board/sasuke/led.c b/board/sasuke/led.c index 67d0889831..37cbad75e5 100644 --- a/board/sasuke/led.c +++ b/board/sasuke/led.c @@ -128,4 +128,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/sasukette/usb_pd_policy.c b/board/sasukette/usb_pd_policy.c index b0e1098e4d..15faf41ffc 100644 --- a/board/sasukette/usb_pd_policy.c +++ b/board/sasukette/usb_pd_policy.c @@ -59,4 +59,3 @@ int pd_set_power_supply_ready(int port) return EC_SUCCESS; } - diff --git a/board/servo_v4/usb_pd_config.h b/board/servo_v4/usb_pd_config.h index b865057618..af9d84922c 100644 --- a/board/servo_v4/usb_pd_config.h +++ b/board/servo_v4/usb_pd_config.h @@ -285,4 +285,3 @@ static inline void pd_config_init(int port, uint8_t power_role) int pd_adc_read(int port, int cc); #endif /* __CROS_EC_USB_PD_CONFIG_H */ - diff --git a/board/servo_v4p1/usb_pd_config.h b/board/servo_v4p1/usb_pd_config.h index 63fb6b5728..7e97d68a11 100644 --- a/board/servo_v4p1/usb_pd_config.h +++ b/board/servo_v4p1/usb_pd_config.h @@ -280,4 +280,3 @@ static inline void pd_config_init(int port, uint8_t power_role) int pd_adc_read(int port, int cc); #endif /* __CROS_EC_USB_PD_CONFIG_H */ - diff --git a/board/servo_v4p1/usb_tc_snk_sm.c b/board/servo_v4p1/usb_tc_snk_sm.c index f9a3966434..95586943bf 100644 --- a/board/servo_v4p1/usb_tc_snk_sm.c +++ b/board/servo_v4p1/usb_tc_snk_sm.c @@ -288,4 +288,3 @@ void snk_task(void *u) run_state(0, &tc.ctx); } } - diff --git a/board/shuboz/board.c b/board/shuboz/board.c index 84e2249e44..3008434ea4 100644 --- a/board/shuboz/board.c +++ b/board/shuboz/board.c @@ -626,4 +626,3 @@ int usb_port_enable[USBA_PORT_COUNT] = { IOEX_EN_USB_A0_5V, IOEX_EN_USB_A1_5V_DB, }; - diff --git a/board/stm32f446e-eval/board.c b/board/stm32f446e-eval/board.c index fc796464e2..f4cf28898c 100644 --- a/board/stm32f446e-eval/board.c +++ b/board/stm32f446e-eval/board.c @@ -88,4 +88,3 @@ void board_config_post_gpio_init(void) GPIO_SET_HS(C, 6); GPIO_SET_HS(C, 7); } - diff --git a/board/storo/usb_pd_policy.c b/board/storo/usb_pd_policy.c index b0e1098e4d..15faf41ffc 100644 --- a/board/storo/usb_pd_policy.c +++ b/board/storo/usb_pd_policy.c @@ -59,4 +59,3 @@ int pd_set_power_supply_ready(int port) return EC_SUCCESS; } - diff --git a/board/stryke/led.c b/board/stryke/led.c index f68b39361e..4e210f34e2 100644 --- a/board/stryke/led.c +++ b/board/stryke/led.c @@ -77,4 +77,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/taeko/usbc_config.h b/board/taeko/usbc_config.h index 89fb1863c8..9030333dbc 100644 --- a/board/taeko/usbc_config.h +++ b/board/taeko/usbc_config.h @@ -19,4 +19,3 @@ enum usbc_port { void config_usb_db_type(void); #endif /* __CROS_EC_USBC_CONFIG_H */ - diff --git a/board/woomax/led.c b/board/woomax/led.c index e1091c92f3..4c229d86f5 100644 --- a/board/woomax/led.c +++ b/board/woomax/led.c @@ -103,4 +103,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/board/woomax/thermal.c b/board/woomax/thermal.c index 2517a361e6..98a46aad11 100644 --- a/board/woomax/thermal.c +++ b/board/woomax/thermal.c @@ -137,4 +137,3 @@ void board_override_fan_control(int fan, int *tmp) fan_table_to_rpm(fan, tmp)); } } - diff --git a/board/yorp/led.c b/board/yorp/led.c index 888b74fa12..37ce7446b0 100644 --- a/board/yorp/led.c +++ b/board/yorp/led.c @@ -73,4 +73,3 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) return EC_SUCCESS; } - diff --git a/chip/it83xx/dac_chip.h b/chip/it83xx/dac_chip.h index fa50769c85..12e16eea0a 100644 --- a/chip/it83xx/dac_chip.h +++ b/chip/it83xx/dac_chip.h @@ -55,4 +55,3 @@ void dac_set_output_voltage(enum chip_dac_channel ch, int mv); int dac_get_output_voltage(enum chip_dac_channel ch); #endif /* __CROS_EC_DAC_CHIP_H */ - diff --git a/chip/lm4/clock.c b/chip/lm4/clock.c index 39800c9034..a54a6a88f0 100644 --- a/chip/lm4/clock.c +++ b/chip/lm4/clock.c @@ -751,4 +751,3 @@ DECLARE_CONSOLE_COMMAND(dsleep, command_dsleep, "Give a timeout value for the console in use timeout.\n" "See also 'sleepmask'."); #endif /* CONFIG_LOW_POWER_IDLE */ - diff --git a/chip/mchp/dma_chip.h b/chip/mchp/dma_chip.h index 4784b2c922..308019f348 100644 --- a/chip/mchp/dma_chip.h +++ b/chip/mchp/dma_chip.h @@ -65,4 +65,3 @@ int dma_crc32_start(const uint8_t *mstart, const uint32_t nbytes, int ien); #endif /* #ifndef _DMA_CHIP_H */ /** @} */ - diff --git a/chip/mchp/gpio.c b/chip/mchp/gpio.c index 611ced1019..28cb987e23 100644 --- a/chip/mchp/gpio.c +++ b/chip/mchp/gpio.c @@ -494,4 +494,3 @@ DECLARE_IRQ(MCHP_IRQ_GIRQ10, __girq_10_interrupt, 1); DECLARE_IRQ(MCHP_IRQ_GIRQ11, __girq_11_interrupt, 1); DECLARE_IRQ(MCHP_IRQ_GIRQ12, __girq_12_interrupt, 1); DECLARE_IRQ(MCHP_IRQ_GIRQ26, __girq_26_interrupt, 1); - diff --git a/chip/mchp/gpio_chip.h b/chip/mchp/gpio_chip.h index 7baaa76fa2..a22ba80a33 100644 --- a/chip/mchp/gpio_chip.h +++ b/chip/mchp/gpio_chip.h @@ -35,4 +35,3 @@ void gpio_power_off_by_mask(uint32_t port, uint32_t mask); #endif /* #ifndef _GPIO_CHIP_H */ /** @} */ - diff --git a/chip/mchp/gpio_cmds.c b/chip/mchp/gpio_cmds.c index cbf5f4c462..7263909c9c 100644 --- a/chip/mchp/gpio_cmds.c +++ b/chip/mchp/gpio_cmds.c @@ -94,4 +94,3 @@ static int cmd_gp_set_config(int argc, char **argv) DECLARE_CONSOLE_COMMAND(gpsetcfg, cmd_gp_set_config, "gp_num val", "Set GPIO config"); - diff --git a/chip/mchp/gpspi.c b/chip/mchp/gpspi.c index 5234db8260..c92813b300 100644 --- a/chip/mchp/gpspi.c +++ b/chip/mchp/gpspi.c @@ -264,4 +264,3 @@ int gpspi_enable(int hw_port, int enable) return EC_SUCCESS; } - diff --git a/chip/mchp/gpspi_chip.h b/chip/mchp/gpspi_chip.h index 529a727e36..e1d83ed6d8 100644 --- a/chip/mchp/gpspi_chip.h +++ b/chip/mchp/gpspi_chip.h @@ -32,4 +32,3 @@ int gpspi_enable(int port, int enable); #endif /* #ifndef _GPSPI_CHIP_H */ /** @} */ - diff --git a/chip/mchp/lpc.c b/chip/mchp/lpc.c index b5db07b88f..da4f8202e4 100644 --- a/chip/mchp/lpc.c +++ b/chip/mchp/lpc.c @@ -1019,4 +1019,3 @@ static int command_lpc(int argc, char **argv) DECLARE_CONSOLE_COMMAND(lpc, command_lpc, "[sci|smi|wake]", "Trigger SCI/SMI"); #endif - diff --git a/chip/mchp/port80.c b/chip/mchp/port80.c index ecfd0b5ebb..08cb5b97cd 100644 --- a/chip/mchp/port80.c +++ b/chip/mchp/port80.c @@ -79,4 +79,3 @@ void port_80_interrupt(void) } DECLARE_IRQ(MCHP_IRQ_PORT80DBG0, port_80_interrupt, 3); #endif - diff --git a/chip/mchp/qmspi.c b/chip/mchp/qmspi.c index 72eaa91d37..b170d75283 100644 --- a/chip/mchp/qmspi.c +++ b/chip/mchp/qmspi.c @@ -697,4 +697,3 @@ int qmspi_enable(int hw_port, int enable) return EC_SUCCESS; } - diff --git a/chip/mchp/qmspi_chip.h b/chip/mchp/qmspi_chip.h index 1a1d764267..8d836f22ff 100644 --- a/chip/mchp/qmspi_chip.h +++ b/chip/mchp/qmspi_chip.h @@ -64,4 +64,3 @@ uint8_t qmspi_xfr(const struct spi_device_t *spi_device, #endif /* #ifndef _QMSPI_CHIP_H */ /** @} */ - diff --git a/chip/mchp/spi_chip.h b/chip/mchp/spi_chip.h index 75973e4a78..8a83968e49 100644 --- a/chip/mchp/spi_chip.h +++ b/chip/mchp/spi_chip.h @@ -57,4 +57,3 @@ const void *spi_dma_option(const struct spi_device_t *spi_device, #endif /* #ifndef _QMSPI_CHIP_H */ /** @} */ - diff --git a/chip/mchp/system.c b/chip/mchp/system.c index d67314d716..356313fcd2 100644 --- a/chip/mchp/system.c +++ b/chip/mchp/system.c @@ -588,4 +588,3 @@ void system_set_image_copy(enum ec_image copy) MCHP_VBAT_RAM(MCHP_IMAGETYPE_IDX) = (copy == EC_IMAGE_RW) ? EC_IMAGE_RW : EC_IMAGE_RO; } - diff --git a/chip/mec1322/spi.c b/chip/mec1322/spi.c index 0c4174cecd..5cc25b8089 100644 --- a/chip/mec1322/spi.c +++ b/chip/mec1322/spi.c @@ -175,4 +175,3 @@ int spi_enable(const struct spi_device_t *spi_device, int enable) return EC_SUCCESS; } - diff --git a/chip/npcx/i2c-npcx5.c b/chip/npcx/i2c-npcx5.c index 6b78fd53f9..89b5ec8072 100644 --- a/chip/npcx/i2c-npcx5.c +++ b/chip/npcx/i2c-npcx5.c @@ -44,4 +44,3 @@ int i2c_is_raw_mode(int port) else return 1; } - diff --git a/chip/npcx/keyboard_raw.c b/chip/npcx/keyboard_raw.c index e6b8cad7bd..8dc11c03ac 100644 --- a/chip/npcx/keyboard_raw.c +++ b/chip/npcx/keyboard_raw.c @@ -166,4 +166,3 @@ int keyboard_raw_is_input_low(int port, int id) { return (NPCX_PDIN(port) & BIT(id)) == 0; } - diff --git a/chip/npcx/sib.c b/chip/npcx/sib.c index b8e2e17955..b62946fc96 100644 --- a/chip/npcx/sib.c +++ b/chip/npcx/sib.c @@ -188,4 +188,3 @@ uint8_t sib_read_reg(uint8_t io_offset, uint8_t index_value) return data_value; } - diff --git a/chip/npcx/sib_chip.h b/chip/npcx/sib_chip.h index 2341f219b4..1687c90925 100644 --- a/chip/npcx/sib_chip.h +++ b/chip/npcx/sib_chip.h @@ -20,4 +20,3 @@ void sib_write_reg(uint8_t io_offset, uint8_t index_value, uint8_t sib_read_reg(uint8_t io_offset, uint8_t index_value); /* Emulate host to read Keyboard I/O */ uint8_t sib_read_kbc_reg(uint8_t io_offset); - diff --git a/chip/npcx/spiflashfw/npcx_monitor.c b/chip/npcx/spiflashfw/npcx_monitor.c index cd52e7a80f..f22037f8de 100644 --- a/chip/npcx/spiflashfw/npcx_monitor.c +++ b/chip/npcx/spiflashfw/npcx_monitor.c @@ -335,4 +335,3 @@ sspi_flash_upload(int spi_offset, int spi_size) for (;;) ; } - diff --git a/chip/nrf51/bluetooth_le.c b/chip/nrf51/bluetooth_le.c index 89eb117efd..8a799cb7a9 100644 --- a/chip/nrf51/bluetooth_le.c +++ b/chip/nrf51/bluetooth_le.c @@ -534,4 +534,3 @@ static int command_ble_adv_scan(int argc, char **argv) DECLARE_CONSOLE_COMMAND(ble_scan, command_ble_adv_scan, "chan [num] [addr0]", "Scan for [num] BLE packets on channel chan"); - diff --git a/chip/nrf51/config_chip.h b/chip/nrf51/config_chip.h index f63fff0fe3..7dbd200c05 100644 --- a/chip/nrf51/config_chip.h +++ b/chip/nrf51/config_chip.h @@ -61,4 +61,3 @@ #define GPIO_PIN_MASK(p, m) .port = GPIO_##p, .mask = (m) #endif /* __CROS_EC_CONFIG_CHIP_H */ - diff --git a/chip/nrf51/hwtimer.c b/chip/nrf51/hwtimer.c index 980a889657..2f44df905c 100644 --- a/chip/nrf51/hwtimer.c +++ b/chip/nrf51/hwtimer.c @@ -176,4 +176,3 @@ int __hw_clock_source_init(uint32_t start_t) return NRF51_PERID_TIMER(HWTIMER); } - diff --git a/chip/nrf51/i2c.c b/chip/nrf51/i2c.c index ff23152c89..419f9e87d6 100644 --- a/chip/nrf51/i2c.c +++ b/chip/nrf51/i2c.c @@ -301,4 +301,3 @@ int i2c_get_line_levels(int port) return (i2c_raw_get_sda(port) ? I2C_LINE_SDA_HIGH : 0) | (i2c_raw_get_scl(port) ? I2C_LINE_SCL_HIGH : 0); } - diff --git a/chip/nrf51/radio.c b/chip/nrf51/radio.c index af9d029a0d..74457577e2 100644 --- a/chip/nrf51/radio.c +++ b/chip/nrf51/radio.c @@ -56,4 +56,3 @@ int radio_init(enum nrf51_radio_mode_t mode) return err_code; } - diff --git a/chip/nrf51/radio_test.c b/chip/nrf51/radio_test.c index 6c20874f4e..422ae590c4 100644 --- a/chip/nrf51/radio_test.c +++ b/chip/nrf51/radio_test.c @@ -181,4 +181,3 @@ int ble_test_rx(void) return EC_SUCCESS; } - diff --git a/chip/nrf51/registers.h b/chip/nrf51/registers.h index daf014df72..5fbae4f3c2 100644 --- a/chip/nrf51/registers.h +++ b/chip/nrf51/registers.h @@ -717,4 +717,3 @@ #define NRF51_LPCOMP_PSEL REG32(NRF51_LPCOMP_BASE + 0x504) #endif /* __CROS_EC_REGISTERS_H */ - diff --git a/chip/stm32/clock-stm32g4.c b/chip/stm32/clock-stm32g4.c index 42a00a0f6a..b0bf56d85f 100644 --- a/chip/stm32/clock-stm32g4.c +++ b/chip/stm32/clock-stm32g4.c @@ -291,4 +291,3 @@ int clock_is_module_enabled(enum module_id module) return !!(STM32_RCC_AHB2ENR & STM32_RCC_AHB2ENR_ADC12EN); return 0; } - diff --git a/chip/stm32/config-stm32f09x.h b/chip/stm32/config-stm32f09x.h index 9dc27a1fb2..527e84db1b 100644 --- a/chip/stm32/config-stm32f09x.h +++ b/chip/stm32/config-stm32f09x.h @@ -73,4 +73,3 @@ #define WP_BANK_COUNT 31 #define PSTATE_BANK 30 #define PSTATE_BANK_COUNT 1 - diff --git a/chip/stm32/dma-stm32f4.c b/chip/stm32/dma-stm32f4.c index 860874de8c..c721065fd3 100644 --- a/chip/stm32/dma-stm32f4.c +++ b/chip/stm32/dma-stm32f4.c @@ -331,4 +331,3 @@ DECLARE_DMA_IRQ(2, 6); DECLARE_DMA_IRQ(2, 7); #endif /* CONFIG_DMA_DEFAULT_HANDLERS */ - diff --git a/chip/stm32/i2c-stm32f0.c b/chip/stm32/i2c-stm32f0.c index cdf5421efc..dacaa80257 100644 --- a/chip/stm32/i2c-stm32f0.c +++ b/chip/stm32/i2c-stm32f0.c @@ -650,4 +650,3 @@ void i2c_init(void) task_enable_irq(IRQ_PERIPHERAL); #endif } - diff --git a/chip/stm32/registers-stm32g4.h b/chip/stm32/registers-stm32g4.h index e3a73a0fe9..5ad6194795 100644 --- a/chip/stm32/registers-stm32g4.h +++ b/chip/stm32/registers-stm32g4.h @@ -1503,4 +1503,3 @@ enum dmamux1_request { #define STM32_UNIQUE_ID_LENGTH (3 * 4) #endif /* !__ASSEMBLER__ */ - diff --git a/chip/stm32/registers-stm32l4.h b/chip/stm32/registers-stm32l4.h index 29965fe2ee..156994cc10 100644 --- a/chip/stm32/registers-stm32l4.h +++ b/chip/stm32/registers-stm32l4.h @@ -2111,4 +2111,3 @@ typedef volatile struct stm32_dma_regs stm32_dma_regs_t; #define STM32_DMA_CCR_MEM2MEM BIT(14) #endif /* !__ASSEMBLER__ */ - diff --git a/chip/stm32/registers-stm32l5.h b/chip/stm32/registers-stm32l5.h index 3a31b26ec9..08b3bc67b3 100644 --- a/chip/stm32/registers-stm32l5.h +++ b/chip/stm32/registers-stm32l5.h @@ -2421,4 +2421,3 @@ typedef volatile struct stm32_dma_regs stm32_dma_regs_t; #define STM32_DMA_CCR_MEM2MEM BIT(14) #endif /* !__ASSEMBLER__ */ - diff --git a/chip/stm32/usb_power.c b/chip/stm32/usb_power.c index 24dbff06cd..2950423219 100644 --- a/chip/stm32/usb_power.c +++ b/chip/stm32/usb_power.c @@ -730,4 +730,3 @@ void usb_power_deferred_cap(struct usb_power_config const *config) if (config->state->state == USB_POWER_STATE_CAPTURING) hook_call_deferred(config->deferred_cap, timeout); } - diff --git a/chip/stm32/usb_power.h b/chip/stm32/usb_power.h index 68b7f75ca2..51220691b6 100644 --- a/chip/stm32/usb_power.h +++ b/chip/stm32/usb_power.h @@ -380,4 +380,3 @@ void usb_power_event(struct usb_power_config const *config, #endif /* __CROS_EC_USB_DWC_POWER_H */ - diff --git a/common/backlight_lid.c b/common/backlight_lid.c index 3b857df592..f0dd3b2e24 100644 --- a/common/backlight_lid.c +++ b/common/backlight_lid.c @@ -81,5 +81,3 @@ switch_command_enable_backlight(struct host_cmd_handler_args *args) DECLARE_HOST_COMMAND(EC_CMD_SWITCH_ENABLE_BKLIGHT, switch_command_enable_backlight, EC_VER_MASK(0)); - - diff --git a/common/bluetooth_le.c b/common/bluetooth_le.c index 2e68893223..c148ef8285 100644 --- a/common/bluetooth_le.c +++ b/common/bluetooth_le.c @@ -195,4 +195,3 @@ void dump_ble_packet(struct ble_pdu *ble_p) mem_dump(ble_p->payload, ble_p->header.data.length); } } - diff --git a/common/btle_ll.c b/common/btle_ll.c index 20ede4d4a0..d57eb3bfd3 100644 --- a/common/btle_ll.c +++ b/common/btle_ll.c @@ -858,4 +858,3 @@ void bluetooth_ll_task(void) } } } - diff --git a/common/chipset.c b/common/chipset.c index 6275b12b85..61478f184a 100644 --- a/common/chipset.c +++ b/common/chipset.c @@ -126,4 +126,3 @@ get_ap_reset_stats(struct ap_reset_log_entry *reset_log_entries, } #endif /* !CONFIG_AP_RESET_LOG */ - diff --git a/common/gesture.c b/common/gesture.c index 88d79448a5..0ccd358d54 100644 --- a/common/gesture.c +++ b/common/gesture.c @@ -332,4 +332,3 @@ static int command_tap_info(int argc, char **argv) DECLARE_CONSOLE_COMMAND(tapinfo, command_tap_info, "debug on/off", "Print tap information"); - diff --git a/common/host_command_controller.c b/common/host_command_controller.c index 0d221e44e3..c602213e29 100644 --- a/common/host_command_controller.c +++ b/common/host_command_controller.c @@ -227,4 +227,3 @@ static int command_pd_mcu(int argc, char **argv) DECLARE_CONSOLE_COMMAND(pdcmd, command_pd_mcu, "cmd ver [params]", "Send PD host command"); - diff --git a/common/host_command_pd.c b/common/host_command_pd.c index f9b67c8b8d..7d82249d21 100644 --- a/common/host_command_pd.c +++ b/common/host_command_pd.c @@ -226,4 +226,3 @@ void pd_command_task(void *u) pd_exchange_status(ec_state); } } - diff --git a/common/i2c_wedge.c b/common/i2c_wedge.c index 48bcac090c..fc0a5132b7 100644 --- a/common/i2c_wedge.c +++ b/common/i2c_wedge.c @@ -338,4 +338,3 @@ static int command_i2c_unwedge(int argc, char **argv) DECLARE_CONSOLE_COMMAND(i2cunwedge, command_i2c_unwedge, "", "Unwedge host I2C bus"); - diff --git a/common/init_rom.c b/common/init_rom.c index 320849c008..2cee57f922 100644 --- a/common/init_rom.c +++ b/common/init_rom.c @@ -66,4 +66,3 @@ int init_rom_copy(int offset, int size, char *data) { return crec_flash_read(offset, size, data); } - diff --git a/common/keyboard_8042.c b/common/keyboard_8042.c index 699eaa6687..5e89dd3959 100644 --- a/common/keyboard_8042.c +++ b/common/keyboard_8042.c @@ -1325,4 +1325,3 @@ DECLARE_HOOK(HOOK_POWER_BUTTON_CHANGE, keyboard_power_button, HOOK_PRIO_DEFAULT); #endif /* CONFIG_POWER_BUTTON && !CONFIG_MKBP_INPUT_DEVICES */ - diff --git a/common/led_policy_std.c b/common/led_policy_std.c index e9fe4568a2..b18dc1bc27 100644 --- a/common/led_policy_std.c +++ b/common/led_policy_std.c @@ -199,4 +199,3 @@ static void led_second(void) std_led_set_battery(); } DECLARE_HOOK(HOOK_SECOND, led_second, HOOK_PRIO_DEFAULT); - diff --git a/common/motion_lid.c b/common/motion_lid.c index eb0297aefa..4e76bebb66 100644 --- a/common/motion_lid.c +++ b/common/motion_lid.c @@ -565,4 +565,3 @@ enum ec_status host_cmd_motion_lid(struct host_cmd_handler_args *args) return EC_RES_SUCCESS; } - diff --git a/common/power_button.c b/common/power_button.c index 1ac3893492..a24b073fa7 100644 --- a/common/power_button.c +++ b/common/power_button.c @@ -224,4 +224,3 @@ static int command_powerbtn(int argc, char **argv) DECLARE_CONSOLE_COMMAND(powerbtn, command_powerbtn, "[msec]", "Simulate power button press"); - diff --git a/common/printf.c b/common/printf.c index be06d34dd8..e302708a9b 100644 --- a/common/printf.c +++ b/common/printf.c @@ -518,4 +518,3 @@ int crec_vsnprintf(char *str, size_t size, const char *format, va_list args) return (rv == EC_SUCCESS) ? (ctx.str - str) : -rv; } - diff --git a/common/spi_commands.c b/common/spi_commands.c index 1a70a5be82..45c2f3ce70 100644 --- a/common/spi_commands.c +++ b/common/spi_commands.c @@ -68,4 +68,3 @@ static int command_spixfer(int argc, char **argv) DECLARE_CONSOLE_COMMAND(spixfer, command_spixfer, "rlen/w id offset [value | len]", "Read write spi. id is spi_devices array index"); - diff --git a/common/virtual_battery.c b/common/virtual_battery.c index 0f0167556c..7c40ffb492 100644 --- a/common/virtual_battery.c +++ b/common/virtual_battery.c @@ -356,4 +356,3 @@ int virtual_battery_operation(const uint8_t *batt_cmd_head, } return EC_SUCCESS; } - diff --git a/cts/common/dut_common.c b/cts/common/dut_common.c index 6e62a280e2..c9644b66e8 100644 --- a/cts/common/dut_common.c +++ b/cts/common/dut_common.c @@ -25,4 +25,3 @@ enum cts_rc sync(void) return CTS_RC_SUCCESS; } - diff --git a/driver/als_bh1730.h b/driver/als_bh1730.h index f49afac76f..f4bbc37a13 100644 --- a/driver/als_bh1730.h +++ b/driver/als_bh1730.h @@ -94,4 +94,3 @@ struct bh1730_drv_data_t { extern const struct accelgyro_drv bh1730_drv; #endif /* __CROS_EC_ALS_BH1730_H */ - diff --git a/driver/battery/bq27541.c b/driver/battery/bq27541.c index b39147092f..b59bfc0b18 100644 --- a/driver/battery/bq27541.c +++ b/driver/battery/bq27541.c @@ -429,4 +429,3 @@ int battery_get_avg_voltage(void) return -EC_ERROR_UNIMPLEMENTED; } #endif /* CONFIG_CMD_PWR_AVG */ - diff --git a/driver/battery/bq27621_g1.c b/driver/battery/bq27621_g1.c index dbda6f9c65..96b0ed6975 100644 --- a/driver/battery/bq27621_g1.c +++ b/driver/battery/bq27621_g1.c @@ -744,4 +744,3 @@ DECLARE_CONSOLE_COMMAND(fgcmdrd, command_fgcmdrd, "Send a 2-byte cmd to the fg, read back the 2-byte result"); #endif /* CONFIG_CMD_BATDEBUG */ - diff --git a/driver/battery/bq4050.c b/driver/battery/bq4050.c index 684ade47e6..32fc858d08 100644 --- a/driver/battery/bq4050.c +++ b/driver/battery/bq4050.c @@ -36,4 +36,3 @@ int battery_bq4050_imbalance_mv(void) } return (n_cells == 0) ? 0 : max_voltage - min_voltage; } - diff --git a/driver/mag_lis2mdl.h b/driver/mag_lis2mdl.h index a7c47ec00e..bc823628b3 100644 --- a/driver/mag_lis2mdl.h +++ b/driver/mag_lis2mdl.h @@ -89,4 +89,3 @@ void lis2mdl_normalize(const struct motion_sensor_t *s, extern const struct accelgyro_drv lis2mdl_drv; #endif /* __CROS_EC_MAG_LIS2MDL_H */ - diff --git a/driver/mp4245.c b/driver/mp4245.c index 2b38e5c9e9..60df5affaf 100644 --- a/driver/mp4245.c +++ b/driver/mp4245.c @@ -211,4 +211,3 @@ static int command_mp4245(int argc, char **argv) DECLARE_CONSOLE_COMMAND(mp4245, command_mp4245, "", "Turn on/off|set vbus."); - diff --git a/driver/ppc/rt1718s.h b/driver/ppc/rt1718s.h index f692bf3dd4..192063d3fc 100644 --- a/driver/ppc/rt1718s.h +++ b/driver/ppc/rt1718s.h @@ -14,4 +14,3 @@ extern const struct ppc_drv rt1718s_ppc_drv; #endif /* defined(__CROS_EC_PPC_RT1718S_H) */ - diff --git a/driver/sync.c b/driver/sync.c index c9a2752d63..648156aa6e 100644 --- a/driver/sync.c +++ b/driver/sync.c @@ -134,4 +134,3 @@ const struct accelgyro_drv sync_drv = { .get_data_rate = sync_get_data_rate, .irq_handler = motion_irq_handler, }; - diff --git a/driver/sync.h b/driver/sync.h index 1f6115a086..bf21987b74 100644 --- a/driver/sync.h +++ b/driver/sync.h @@ -15,4 +15,3 @@ extern const struct accelgyro_drv sync_drv; void sync_interrupt(enum gpio_signal signal); #endif /* __CROS_EC_VSYNC_H */ - diff --git a/driver/tcpm/anx7447.c b/driver/tcpm/anx7447.c index 9a9a3c7971..dde7b7e306 100644 --- a/driver/tcpm/anx7447.c +++ b/driver/tcpm/anx7447.c @@ -858,4 +858,3 @@ const struct usb_mux_driver anx7447_usb_mux_driver = { .get = anx7447_mux_get, }; #endif /* CONFIG_USB_PD_TCPM_MUX */ - diff --git a/driver/tcpm/fusb307.c b/driver/tcpm/fusb307.c index e8804a2661..3569032805 100644 --- a/driver/tcpm/fusb307.c +++ b/driver/tcpm/fusb307.c @@ -100,4 +100,3 @@ const struct tcpm_drv fusb307_tcpm_drv = { #endif .set_bist_test_mode = &tcpci_set_bist_test_mode, }; - diff --git a/driver/temp_sensor/adt7481.c b/driver/temp_sensor/adt7481.c index cbd32e5cd5..b10404733c 100644 --- a/driver/temp_sensor/adt7481.c +++ b/driver/temp_sensor/adt7481.c @@ -349,4 +349,3 @@ int adt7481_set_power(enum adt7481_power_state power_on) return EC_SUCCESS; #endif } - diff --git a/driver/temp_sensor/oti502.c b/driver/temp_sensor/oti502.c index 8a420363e8..b58d1c3e96 100644 --- a/driver/temp_sensor/oti502.c +++ b/driver/temp_sensor/oti502.c @@ -64,4 +64,3 @@ static void temp_sensor_poll(void) } } DECLARE_HOOK(HOOK_SECOND, temp_sensor_poll, HOOK_PRIO_TEMP_SENSOR); - diff --git a/driver/temp_sensor/tmp411.c b/driver/temp_sensor/tmp411.c index ef22052da8..ee50d0a894 100644 --- a/driver/temp_sensor/tmp411.c +++ b/driver/temp_sensor/tmp411.c @@ -327,4 +327,3 @@ int tmp411_set_power(enum tmp411_power_state power_on) return EC_SUCCESS; #endif } - diff --git a/driver/temp_sensor/tmp432.c b/driver/temp_sensor/tmp432.c index 6260678dcd..4226f51bfd 100644 --- a/driver/temp_sensor/tmp432.c +++ b/driver/temp_sensor/tmp432.c @@ -396,4 +396,3 @@ int tmp432_set_power(enum tmp432_power_state power_on) return EC_SUCCESS; #endif } - diff --git a/driver/touchpad_st.h b/driver/touchpad_st.h index a6534f278f..ef0960591b 100644 --- a/driver/touchpad_st.h +++ b/driver/touchpad_st.h @@ -271,4 +271,3 @@ enum ST_TP_MODE { #define ST_TP_MIN_HEATMAP_VERSION 0x12 #endif /* __CROS_EC_TOUCHPAD_ST_H */ - diff --git a/fuzz/host_command_fuzz.c b/fuzz/host_command_fuzz.c index 4ca94ff616..e055f4a73f 100644 --- a/fuzz/host_command_fuzz.c +++ b/fuzz/host_command_fuzz.c @@ -166,4 +166,3 @@ int test_fuzz_one_input(const uint8_t *data, unsigned int size) return 0; } - diff --git a/fuzz/usb_tcpm_v2_rev20_fuzz.c b/fuzz/usb_tcpm_v2_rev20_fuzz.c index f5afb92ac1..2f0129464a 100644 --- a/fuzz/usb_tcpm_v2_rev20_fuzz.c +++ b/fuzz/usb_tcpm_v2_rev20_fuzz.c @@ -30,4 +30,3 @@ int pd_check_vconn_swap(int port) { return 1; } - diff --git a/include/battery_bq27621_g1.h b/include/battery_bq27621_g1.h index 0c388d8a52..ff7e546f3a 100644 --- a/include/battery_bq27621_g1.h +++ b/include/battery_bq27621_g1.h @@ -16,4 +16,3 @@ int bq27621_state_of_charge(int *percent); * Returns EC_SUCCESS on success. */ int bq27621_init(void); - diff --git a/include/battery_smart.h b/include/battery_smart.h index a610092d31..b97d681223 100644 --- a/include/battery_smart.h +++ b/include/battery_smart.h @@ -189,4 +189,3 @@ int sb_write_block(int reg, const uint8_t *val, int len); int sb_read_mfgacc(int cmd, int block, uint8_t *data, int len); #endif /* __CROS_EC_BATTERY_SMART_H */ - diff --git a/include/btle_hci2.h b/include/btle_hci2.h index 0b30a0dc48..193df3391b 100644 --- a/include/btle_hci2.h +++ b/include/btle_hci2.h @@ -52,4 +52,3 @@ void hci_cmd(uint8_t *hciCmdbuf); void hci_acl_to_host(uint8_t *data, uint16_t hdr, uint16_t len); void hci_acl_from_host(uint8_t *hciAclbuf); void hci_event(uint8_t event_code, uint8_t len, uint8_t *params); - diff --git a/include/btle_hci_int.h b/include/btle_hci_int.h index ba0b3e6041..83fffee69f 100644 --- a/include/btle_hci_int.h +++ b/include/btle_hci_int.h @@ -3153,4 +3153,3 @@ struct hciEvtAuthedPayloadTimeoutExpired { #endif - diff --git a/include/charge_state_v1.h b/include/charge_state_v1.h index 6bc8529a6e..f5d464b655 100644 --- a/include/charge_state_v1.h +++ b/include/charge_state_v1.h @@ -69,4 +69,3 @@ struct charge_state_context { }; #endif /* __CROS_EC_CHARGE_STATE_V1_H */ - diff --git a/include/display_7seg.h b/include/display_7seg.h index cbaf33f458..4369502672 100644 --- a/include/display_7seg.h +++ b/include/display_7seg.h @@ -24,4 +24,3 @@ enum seven_seg_module_display { int display_7seg_write(enum seven_seg_module_display module, uint16_t data); #endif /* __CROS_EC_DISPLAY_7SEG_H */ - diff --git a/include/motion_lid.h b/include/motion_lid.h index ed7fd4b741..28ddcaec24 100644 --- a/include/motion_lid.h +++ b/include/motion_lid.h @@ -35,5 +35,3 @@ enum ec_status host_cmd_motion_lid(struct host_cmd_handler_args *args); void motion_lid_calc(void); #endif /* __CROS_EC_MOTION_LID_H */ - - diff --git a/include/usb_bb.h b/include/usb_bb.h index 24225250be..e2303f13e6 100644 --- a/include/usb_bb.h +++ b/include/usb_bb.h @@ -51,4 +51,3 @@ struct usb_bb_caps_base_descriptor { #endif /* __CROS_EC_USB_BB_H */ - diff --git a/include/usb_pd_policy.h b/include/usb_pd_policy.h index a4f0c64ea6..04a7a68e7d 100644 --- a/include/usb_pd_policy.h +++ b/include/usb_pd_policy.h @@ -38,4 +38,3 @@ __override_proto bool port_discovery_vconn_swap_policy(int port, bool vconn_swap_flag); #endif /* __CROS_EC_USB_PD_POLICY_H */ - diff --git a/include/usb_tc_sm.h b/include/usb_tc_sm.h index 71b895b78f..80a69279a2 100644 --- a/include/usb_tc_sm.h +++ b/include/usb_tc_sm.h @@ -394,4 +394,3 @@ void tc_reset_support_timer(int port); void tc_ctvpd_detected(int port); #endif /* CONFIG_USB_CTVPD */ #endif /* __CROS_EC_USB_TC_H */ - diff --git a/include/vec4.h b/include/vec4.h index b35431c098..f1724d955e 100644 --- a/include/vec4.h +++ b/include/vec4.h @@ -13,4 +13,3 @@ typedef float floatv4_t[4]; typedef fp_t fpv4_t[4]; #endif /* __CROS_EC_VEC_4_H */ - diff --git a/test/motion_angle_data_literals.c b/test/motion_angle_data_literals.c index 6c0fcb35c2..74d00f8232 100644 --- a/test/motion_angle_data_literals.c +++ b/test/motion_angle_data_literals.c @@ -1000,4 +1000,3 @@ const float kAccelerometerFullyOpenTestData[] = { 0.272461f}; const size_t kAccelerometerFullyOpenTestDataLength = ARRAY_SIZE(kAccelerometerFullyOpenTestData); - diff --git a/test/motion_common.c b/test/motion_common.c index 135da43188..c7c3395fc4 100644 --- a/test/motion_common.c +++ b/test/motion_common.c @@ -141,5 +141,3 @@ void wait_for_valid_sample(void) while ((*lpc_status & EC_MEMMAP_ACC_STATUS_SAMPLE_ID_MASK) == sample) usleep(TEST_LID_SLEEP_RATE); } - - diff --git a/test/rsa.c b/test/rsa.c index 7170e2ff15..8e4eeef54c 100644 --- a/test/rsa.c +++ b/test/rsa.c @@ -55,4 +55,3 @@ void run_test(int argc, char **argv) test_pass(); } - diff --git a/test/usb_pd_console.c b/test/usb_pd_console.c index 800eae7b3d..dd20f2aec3 100644 --- a/test/usb_pd_console.c +++ b/test/usb_pd_console.c @@ -469,4 +469,3 @@ void run_test(int argc, char **argv) test_print_result(); } - diff --git a/test/usb_sm_checks.c b/test/usb_sm_checks.c index 03e5aa23c2..468e6f0254 100644 --- a/test/usb_sm_checks.c +++ b/test/usb_sm_checks.c @@ -187,4 +187,3 @@ int test_pe_all_states_named(void) return EC_SUCCESS; } - diff --git a/test/usb_sm_checks.h b/test/usb_sm_checks.h index 92529ac385..d8e5f8ea06 100644 --- a/test/usb_sm_checks.h +++ b/test/usb_sm_checks.h @@ -19,4 +19,4 @@ int test_prl_all_states_named(void); int test_pe_no_parent_cycles(void); int test_pe_all_states_named(void); -#endif /* __CROS_EC_USB_SM_CHECKS_H */ \ No newline at end of file +#endif /* __CROS_EC_USB_SM_CHECKS_H */ diff --git a/test/usb_typec_ctvpd.c b/test/usb_typec_ctvpd.c index 52c8be0639..1df6a69910 100644 --- a/test/usb_typec_ctvpd.c +++ b/test/usb_typec_ctvpd.c @@ -1539,4 +1539,3 @@ void run_test(int argc, char **argv) test_print_result(); } - diff --git a/third_party/bmi220/accelgyro_bmi220_config_tbin.h b/third_party/bmi220/accelgyro_bmi220_config_tbin.h index e54c98d63a..88b4b08e08 100644 --- a/third_party/bmi220/accelgyro_bmi220_config_tbin.h +++ b/third_party/bmi220/accelgyro_bmi220_config_tbin.h @@ -700,4 +700,3 @@ const unsigned char __init_rom g_bmi220_config_tbin[] = { BUILD_ASSERT(ARRAY_SIZE(g_bmi220_config_tbin) == 8192); const unsigned int g_bmi220_config_tbin_len = ARRAY_SIZE(g_bmi220_config_tbin); - diff --git a/third_party/bmi260/accelgyro_bmi260_config_tbin.h b/third_party/bmi260/accelgyro_bmi260_config_tbin.h index 11a4a90be5..c38411abff 100644 --- a/third_party/bmi260/accelgyro_bmi260_config_tbin.h +++ b/third_party/bmi260/accelgyro_bmi260_config_tbin.h @@ -700,4 +700,3 @@ const unsigned char __init_rom g_bmi260_config_tbin[] = { BUILD_ASSERT(ARRAY_SIZE(g_bmi260_config_tbin) == 8192); const unsigned int g_bmi260_config_tbin_len = ARRAY_SIZE(g_bmi260_config_tbin); - diff --git a/util/ecst.c b/util/ecst.c index 95aee7b73d..8d0ce940d6 100644 --- a/util/ecst.c +++ b/util/ecst.c @@ -2483,4 +2483,3 @@ unsigned int finalize_crc_32(unsigned int crc) return result; } /* finalize_crc_32 */ - diff --git a/util/misc_util.c b/util/misc_util.c index 9813dc72b4..1eb6577dbb 100644 --- a/util/misc_util.c +++ b/util/misc_util.c @@ -172,4 +172,3 @@ int kernel_version_ge(int major, int minor, int sublevel) return ksublevel >= sublevel; } - diff --git a/util/uut/opr.c b/util/uut/opr.c index 2105a199a1..5c979afb16 100644 --- a/util/uut/opr.c +++ b/util/uut/opr.c @@ -550,4 +550,3 @@ static bool opr_send_cmds(struct command_node *cmd_buf, uint32_t cmd_num) return true; } - diff --git a/zephyr/include/dt-bindings/wake_mask_event_defines.h b/zephyr/include/dt-bindings/wake_mask_event_defines.h index 0413fa249c..9840cf18d5 100644 --- a/zephyr/include/dt-bindings/wake_mask_event_defines.h +++ b/zephyr/include/dt-bindings/wake_mask_event_defines.h @@ -70,4 +70,3 @@ #define HOST_EVENT_INVALID BIT(32) #endif /* DT_BINDINGS_WAKE_MASK_EVENT_DEFINES_H_ */ - diff --git a/zephyr/include/emul/emul_tcpci.h b/zephyr/include/emul/emul_tcpci.h index 98a3495b02..9d4f2b8c42 100644 --- a/zephyr/include/emul/emul_tcpci.h +++ b/zephyr/include/emul/emul_tcpci.h @@ -236,4 +236,3 @@ void tcpci_emul_set_rev(const struct emul *emul, enum tcpci_emul_rev rev); */ #endif /* __EMUL_TCPCI */ - diff --git a/zephyr/shim/chip/npcx/npcx_monitor/npcx_monitor.c b/zephyr/shim/chip/npcx/npcx_monitor/npcx_monitor.c index 2bd9455a91..c5f337569a 100644 --- a/zephyr/shim/chip/npcx/npcx_monitor/npcx_monitor.c +++ b/zephyr/shim/chip/npcx/npcx_monitor/npcx_monitor.c @@ -340,4 +340,3 @@ sspi_flash_upload(int spi_offset, int spi_size) for (;;) ; } - diff --git a/zephyr/test/drivers/src/ppc_syv682c.c b/zephyr/test/drivers/src/ppc_syv682c.c index ab05cc37cf..fc8959f47c 100644 --- a/zephyr/test/drivers/src/ppc_syv682c.c +++ b/zephyr/test/drivers/src/ppc_syv682c.c @@ -18,4 +18,4 @@ void test_suite_ppc_syv682c(void) ppc_syv682c, ztest_unit_test(test_board_is_syv682c)); ztest_run_test_suite(ppc_syv682c); -} \ No newline at end of file +} diff --git a/zephyr/test/i2c/src/main.c b/zephyr/test/i2c/src/main.c index 064ce78816..091f2b8a81 100644 --- a/zephyr/test/i2c/src/main.c +++ b/zephyr/test/i2c/src/main.c @@ -31,4 +31,3 @@ void test_main(void) ztest_user_unit_test(test_i2c_port_count)); ztest_run_test_suite(test_i2c); } - -- cgit v1.2.1