From 2c079fce45e14f853bcc86a836b9b92e26555175 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 2 Feb 2022 18:41:32 +0100 Subject: [PATCH] src/ec: Get rid of unnecessary blank line {before,after} brace Change-Id: I9f7c4bdd9299e686c375aced221a72994ef2d6ed Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61556 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/ec/compal/ene932/ec.c | 1 - src/ec/google/chromeec/ec.c | 1 - src/ec/lenovo/h8/chip.h | 1 - src/ec/lenovo/h8/h8.c | 2 -- src/ec/lenovo/pmh7/pmh7.c | 1 - 5 files changed, 6 deletions(-) diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c index eb0b5ff5ad..6389383b21 100644 --- a/src/ec/compal/ene932/ec.c +++ b/src/ec/compal/ene932/ec.c @@ -113,7 +113,6 @@ static void ene932_init(struct device *dev) printk(BIOS_DEBUG, "Compal ENE932: Initializing keyboard.\n"); pc_keyboard_init(NO_AUX_DEVICE); - } static struct device_operations ops = { diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c index 642c31385a..e9a09394bf 100644 --- a/src/ec/google/chromeec/ec.c +++ b/src/ec/google/chromeec/ec.c @@ -1775,7 +1775,6 @@ int google_chromeec_regulator_enable(uint32_t index, uint8_t enable) int google_chromeec_regulator_is_enabled(uint32_t index, uint8_t *enabled) { - struct ec_params_regulator_is_enabled params = { .index = index, }; diff --git a/src/ec/lenovo/h8/chip.h b/src/ec/lenovo/h8/chip.h index d1aa9fe0c5..440c2fc4dd 100644 --- a/src/ec/lenovo/h8/chip.h +++ b/src/ec/lenovo/h8/chip.h @@ -4,7 +4,6 @@ #define EC_LENOVO_H8EC_CHIP_H struct ec_lenovo_h8_config { - u8 config0; u8 config1; u8 config2; diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c index b081ec8f22..bbe6490f0c 100644 --- a/src/ec/lenovo/h8/h8.c +++ b/src/ec/lenovo/h8/h8.c @@ -18,7 +18,6 @@ void h8_trackpoint_enable(int on) { ec_write(H8_TRACKPOINT_CTRL, on ? H8_TRACKPOINT_ON : H8_TRACKPOINT_OFF); - } /* Controls radio-off pin in WLAN MiniPCIe slot. */ @@ -119,7 +118,6 @@ void h8_disable_event(int event) return; ec_clr_bit(0x10 + (event >> 3), event & 7); - } void h8_usb_always_on_enable(enum usb_always_on on) diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c index ebcbcde089..c232a51222 100644 --- a/src/ec/lenovo/pmh7/pmh7.c +++ b/src/ec/lenovo/pmh7/pmh7.c @@ -25,7 +25,6 @@ void pmh7_dock_event_enable(int onoff) pmh7_register_set_bit(0x60, 3); else pmh7_register_clear_bit(0x60, 3); - } void pmh7_touchpad_enable(int onoff)