diff options
author | Laszlo Toth <laszlth@gmail.com> | 2018-04-10 13:10:38 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-02 07:01:08 -0400 |
commit | dd73e722591764d52522fd4af139e626dc076aea (patch) | |
tree | 5967cff6733ec3696157f147b0c4bd89b87f7c80 | |
parent | 6da6c0db5316275015e8cc2959f12a17584aeb64 (diff) |
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>
-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) | |||
8 | { | 8 | { |
9 | struct acpi_generic_address *rr; | 9 | struct acpi_generic_address *rr; |
10 | struct pci_bus *bus0; | 10 | struct pci_bus *bus0; |
11 | u8 reset_value; | ||
12 | unsigned int devfn; | 11 | unsigned int devfn; |
12 | u8 reset_value; | ||
13 | 13 | ||
14 | if (acpi_disabled) | 14 | if (acpi_disabled) |
15 | return; | 15 | return; |
@@ -40,7 +40,7 @@ void acpi_reboot(void) | |||
40 | /* Form PCI device/function pair. */ | 40 | /* Form PCI device/function pair. */ |
41 | devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, | 41 | devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, |
42 | (rr->address >> 16) & 0xffff); | 42 | (rr->address >> 16) & 0xffff); |
43 | printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG."); | 43 | printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.\n"); |
44 | /* Write the value that resets us. */ | 44 | /* Write the value that resets us. */ |
45 | pci_bus_write_config_byte(bus0, devfn, | 45 | pci_bus_write_config_byte(bus0, devfn, |
46 | (rr->address & 0xffff), reset_value); | 46 | (rr->address & 0xffff), reset_value); |