diff options
author | Laszlo Toth <laszlth@gmail.com> | 2018-04-10 19:10:38 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-02 13:01:08 +0200 |
commit | dd73e722591764d52522fd4af139e626dc076aea (patch) | |
tree | 5967cff6733ec3696157f147b0c4bd89b87f7c80 /drivers/acpi/reboot.c | |
parent | 6da6c0db5316275015e8cc2959f12a17584aeb64 (diff) | |
download | lwn-dd73e722591764d52522fd4af139e626dc076aea.tar.gz lwn-dd73e722591764d52522fd4af139e626dc076aea.zip |
ACPI: add missing newline to printk
...and restore reverse xmas tree while at it.
Signed-off-by: Laszlo Toth <laszlth@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/reboot.c')
-rw-r--r-- | drivers/acpi/reboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index 71769fd687b2..6fa9c2a4cfe9 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -8,8 +8,8 @@ void acpi_reboot(void) { struct acpi_generic_address *rr; struct pci_bus *bus0; - u8 reset_value; unsigned int devfn; + u8 reset_value; if (acpi_disabled) return; @@ -40,7 +40,7 @@ void acpi_reboot(void) /* Form PCI device/function pair. */ devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, (rr->address >> 16) & 0xffff); - printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG."); + printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.\n"); /* Write the value that resets us. */ pci_bus_write_config_byte(bus0, devfn, (rr->address & 0xffff), reset_value); |