diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-03-23 15:03:13 +0100 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-03-30 07:47:54 +0000 |
commit | d586545bf8131558ba00e675f0d2f2e8c44698e3 (patch) | |
tree | 1cb71a44677fb356021e335ae554ffa31fa55fbb | |
parent | 5d57af9a36d8ef1c1a531034f7d7e5cdb182fb77 (diff) |
superio: Remove blank lines before and after code blocks
Change-Id: I0d2ff9828e83ef927036c561d11f95b54b858cda
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Eric Lai <ericllai@google.com>
-rw-r--r-- | src/superio/common/conf_mode.c | 2 | ||||
-rw-r--r-- | src/superio/common/generic.c | 1 | ||||
-rw-r--r-- | src/superio/common/ssdt.c | 2 | ||||
-rw-r--r-- | src/superio/fintek/f71808a/chip.h | 1 | ||||
-rw-r--r-- | src/superio/fintek/f81803a/superio.c | 1 | ||||
-rw-r--r-- | src/superio/fintek/f81865f/superio.c | 1 | ||||
-rw-r--r-- | src/superio/fintek/f81866d/chip.h | 1 | ||||
-rw-r--r-- | src/superio/ite/it8712f/superio.c | 1 | ||||
-rw-r--r-- | src/superio/ite/it8721f/superio.c | 1 | ||||
-rw-r--r-- | src/superio/nuvoton/wpcm450/superio.c | 1 | ||||
-rw-r--r-- | src/superio/renesas/m3885x/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/lpc47m15x/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n227/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/mec1308/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/smscsuperio/superio.c | 1 | ||||
-rw-r--r-- | src/superio/winbond/w83627dhg/superio.c | 1 | ||||
-rw-r--r-- | src/superio/winbond/w83627thg/superio.c | 1 | ||||
-rw-r--r-- | src/superio/winbond/w83627uhg/superio.c | 1 | ||||
-rw-r--r-- | src/superio/winbond/w83977tf/superio.c | 1 |
19 files changed, 0 insertions, 21 deletions
diff --git a/src/superio/common/conf_mode.c b/src/superio/common/conf_mode.c index 0978042fb1..6100b4a8ee 100644 --- a/src/superio/common/conf_mode.c +++ b/src/superio/common/conf_mode.c @@ -115,7 +115,6 @@ static void pnp_ssdt_enter_conf_mode_a0a0(struct device *dev, const char *idx, c acpigen_write_store(); acpigen_write_byte(0xa0); acpigen_emit_namestring(idx); - } static void pnp_ssdt_enter_conf_mode_a5a5(struct device *dev, const char *idx, const char *data) @@ -161,7 +160,6 @@ static void pnp_ssdt_exit_conf_mode_aa(struct device *dev, const char *idx, cons static void pnp_ssdt_exit_conf_mode_0202(struct device *dev, const char *idx, const char *data) { - acpigen_write_store(); acpigen_write_byte(0x02); acpigen_emit_namestring(idx); diff --git a/src/superio/common/generic.c b/src/superio/common/generic.c index 92d835731e..e4d0e7bae9 100644 --- a/src/superio/common/generic.c +++ b/src/superio/common/generic.c @@ -320,7 +320,6 @@ static void enable_dev(struct device *dev) printk(BIOS_ERR, "%s: Base address not set\n", dev_path(dev)); else dev->ops = &ops; - } struct chip_operations superio_common_ops = { diff --git a/src/superio/common/ssdt.c b/src/superio/common/ssdt.c index fd55792f0a..4fd1eed46e 100644 --- a/src/superio/common/ssdt.c +++ b/src/superio/common/ssdt.c @@ -103,7 +103,6 @@ static void ldn_gen_resources(const struct device *dev) } if (irq) acpigen_write_irq(irq); - } /* Add resource base and size for additional SuperIO code */ @@ -225,7 +224,6 @@ void superio_common_fill_ssdt_generator(const struct device *dev) acpigen_emit_byte(RETURN_OP); acpigen_emit_byte(LOCAL0_OP); - } acpigen_pop_len(); /* Method */ diff --git a/src/superio/fintek/f71808a/chip.h b/src/superio/fintek/f71808a/chip.h index a1ee597b43..6a41f88a3d 100644 --- a/src/superio/fintek/f71808a/chip.h +++ b/src/superio/fintek/f71808a/chip.h @@ -6,7 +6,6 @@ #include <stdint.h> struct superio_fintek_f71808a_config { - uint8_t hwm_vt1_boundary_1_temperature; uint8_t hwm_vt1_boundary_2_temperature; uint8_t hwm_vt1_boundary_3_temperature; diff --git a/src/superio/fintek/f81803a/superio.c b/src/superio/fintek/f81803a/superio.c index 4d4e8bc461..0975bec663 100644 --- a/src/superio/fintek/f81803a/superio.c +++ b/src/superio/fintek/f81803a/superio.c @@ -29,7 +29,6 @@ static void f81803a_init(struct device *dev) f81803a_pme_init(dev); break; } - } static struct device_operations ops = { diff --git a/src/superio/fintek/f81865f/superio.c b/src/superio/fintek/f81865f/superio.c index 70fefe50cb..8ca66a0c90 100644 --- a/src/superio/fintek/f81865f/superio.c +++ b/src/superio/fintek/f81865f/superio.c @@ -9,7 +9,6 @@ static void f81865f_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/fintek/f81866d/chip.h b/src/superio/fintek/f81866d/chip.h index 14b79ee45d..c5c8d76360 100644 --- a/src/superio/fintek/f81866d/chip.h +++ b/src/superio/fintek/f81866d/chip.h @@ -6,7 +6,6 @@ #include <stdint.h> struct superio_fintek_f81866d_config { - /* AMD TSI */ uint8_t hwm_amd_tsi_addr; uint8_t hwm_amd_tsi_control; diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c index 03127b5fed..119a38c8e7 100644 --- a/src/superio/ite/it8712f/superio.c +++ b/src/superio/ite/it8712f/superio.c @@ -9,7 +9,6 @@ static void it8712f_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/ite/it8721f/superio.c b/src/superio/ite/it8721f/superio.c index 801e27b278..eb7f2eec20 100644 --- a/src/superio/ite/it8721f/superio.c +++ b/src/superio/ite/it8721f/superio.c @@ -9,7 +9,6 @@ static void init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c index 863ad2b985..7d79a3faf3 100644 --- a/src/superio/nuvoton/wpcm450/superio.c +++ b/src/superio/nuvoton/wpcm450/superio.c @@ -8,7 +8,6 @@ static void init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/renesas/m3885x/superio.c b/src/superio/renesas/m3885x/superio.c index 6b7125631f..45bc7504fb 100644 --- a/src/superio/renesas/m3885x/superio.c +++ b/src/superio/renesas/m3885x/superio.c @@ -9,7 +9,6 @@ void m3885_configure_multikey(void); static void m3885x_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/lpc47m15x/superio.c b/src/superio/smsc/lpc47m15x/superio.c index 6f57133c82..8cba7bbe47 100644 --- a/src/superio/smsc/lpc47m15x/superio.c +++ b/src/superio/smsc/lpc47m15x/superio.c @@ -43,7 +43,6 @@ static void enable_dev(struct device *dev) static void lpc47m15x_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c index edcc2717c9..172084ffad 100644 --- a/src/superio/smsc/lpc47n227/superio.c +++ b/src/superio/smsc/lpc47n227/superio.c @@ -106,7 +106,6 @@ void lpc47n227_pnp_enable(struct device *dev) */ static void lpc47n227_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/mec1308/superio.c b/src/superio/smsc/mec1308/superio.c index 39e100ece9..83060cc5fe 100644 --- a/src/superio/smsc/mec1308/superio.c +++ b/src/superio/smsc/mec1308/superio.c @@ -11,7 +11,6 @@ static void mec1308_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/smscsuperio/superio.c b/src/superio/smsc/smscsuperio/superio.c index 3ba8216961..d9aa4777e5 100644 --- a/src/superio/smsc/smscsuperio/superio.c +++ b/src/superio/smsc/smscsuperio/superio.c @@ -216,7 +216,6 @@ static void enable_dev(struct device *dev) u8 test7; if (first_time) { - pnp_enter_conf_mode_55(dev); /* Read the device ID and revision of the Super I/O chip. */ diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c index 491b5c9c6d..d1df983546 100644 --- a/src/superio/winbond/w83627dhg/superio.c +++ b/src/superio/winbond/w83627dhg/superio.c @@ -20,7 +20,6 @@ static void w83627dhg_enable_UR2(struct device *dev) static void w83627dhg_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/winbond/w83627thg/superio.c b/src/superio/winbond/w83627thg/superio.c index 156239f1a3..7778a283fd 100644 --- a/src/superio/winbond/w83627thg/superio.c +++ b/src/superio/winbond/w83627thg/superio.c @@ -8,7 +8,6 @@ static void w83627thg_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/winbond/w83627uhg/superio.c b/src/superio/winbond/w83627uhg/superio.c index e276fc5e08..3098ee2695 100644 --- a/src/superio/winbond/w83627uhg/superio.c +++ b/src/superio/winbond/w83627uhg/superio.c @@ -38,7 +38,6 @@ static void set_uart_clock_source(struct device *dev, u8 uart_clock) static void w83627uhg_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/winbond/w83977tf/superio.c b/src/superio/winbond/w83977tf/superio.c index 28bfc8c4cd..04530ab95c 100644 --- a/src/superio/winbond/w83977tf/superio.c +++ b/src/superio/winbond/w83977tf/superio.c @@ -9,7 +9,6 @@ static void w83977tf_init(struct device *dev) { - if (!dev->enabled) return; |