diff options
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 */ |