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 /src/superio/common | |
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>
Diffstat (limited to 'src/superio/common')
-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 |
3 files changed, 0 insertions, 5 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 */ |