summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-30 16:43:34 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-03-31 17:01:45 +0000
commit45808399fc04e7c623af6ee1e7c7686fab09e790 (patch)
tree8fd75429bb27bd585bf11497321bf46bf60d8bbc
parent12eef084fda2d02a2ad364ba80dfe5f2cf407d85 (diff)
superio/{acpi,common}: Improve code formatting
Change-Id: I879ac7b558781d559a65c97fc8b914ecc4ad3f0d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39927 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/superio/acpi/pnp_generic.asl2
-rw-r--r--src/superio/acpi/pnp_uart.asl2
-rw-r--r--src/superio/common/generic.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/superio/acpi/pnp_generic.asl b/src/superio/acpi/pnp_generic.asl
index cb92a5d9c6..afec200ab2 100644
--- a/src/superio/acpi/pnp_generic.asl
+++ b/src/superio/acpi/pnp_generic.asl
@@ -13,7 +13,7 @@
* SUPERIO_PNP_LDN The logical device number on the Super I/O
* chip for this device (required)
* SUPERIO_PNP_DDN A string literal that identifies the dos device
- * name (DDN) of this device (e.g. "COM1", optional)
+ * name (DDN) of this device (e.g. "COM1", optional)
* SUPERIO_PNP_PM_REG Identifier of a 1-bit register to power down
* the logical device (optional)
* SUPERIO_PNP_PM_VAL The value for SUPERIO_PNP_PM_REG to power the logical
diff --git a/src/superio/acpi/pnp_uart.asl b/src/superio/acpi/pnp_uart.asl
index 859430ee9f..751f955c4e 100644
--- a/src/superio/acpi/pnp_uart.asl
+++ b/src/superio/acpi/pnp_uart.asl
@@ -12,7 +12,7 @@
* SUPERIO_UART_LDN The logical device number on the Super I/O
* chip for this UART (required)
* SUPERIO_UART_DDN A string literal that identifies the dos device
- * name (DDN) of this uart (e.g. "COM1", optional)
+ * name (DDN) of this uart (e.g. "COM1", optional)
* SUPERIO_UART_PM_REG Identifier of a 1-bit register to power down
* the UART (optional)
* SUPERIO_UART_PM_VAL The value for SUPERIO_UART_PM_REG to power the logical
diff --git a/src/superio/common/generic.c b/src/superio/common/generic.c
index de781999bf..809f8866ca 100644
--- a/src/superio/common/generic.c
+++ b/src/superio/common/generic.c
@@ -37,8 +37,7 @@ static void generic_ssdt(struct device *dev)
const char *name = acpi_device_name(dev);
if (!scope || !name) {
- printk(BIOS_ERR, "%s: Missing ACPI path/scope\n",
- dev_path(dev));
+ printk(BIOS_ERR, "%s: Missing ACPI path/scope\n", dev_path(dev));
return;
}