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>
This commit is contained in:
parent
12eef084fd
commit
45808399fc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue