summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-02-02 18:41:32 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-04 20:16:42 +0000
commit2c079fce45e14f853bcc86a836b9b92e26555175 (patch)
tree8650b88b1d1e0b086667365cbeeeed25aad5fe77 /src/ec
parentf73e49a7848ecadbabd58eb236ffe6725cf5f3df (diff)
src/ec: Get rid of unnecessary blank line {before,after} brace
Change-Id: I9f7c4bdd9299e686c375aced221a72994ef2d6ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61556 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/compal/ene932/ec.c1
-rw-r--r--src/ec/google/chromeec/ec.c1
-rw-r--r--src/ec/lenovo/h8/chip.h1
-rw-r--r--src/ec/lenovo/h8/h8.c2
-rw-r--r--src/ec/lenovo/pmh7/pmh7.c1
5 files changed, 0 insertions, 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)