summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/reboot.c
diff options
context:
space:
mode:
authorLaszlo Toth <laszlth@gmail.com>2018-04-10 19:10:38 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-02 13:01:08 +0200
commitdd73e722591764d52522fd4af139e626dc076aea (patch)
tree5967cff6733ec3696157f147b0c4bd89b87f7c80 /drivers/acpi/reboot.c
parent6da6c0db5316275015e8cc2959f12a17584aeb64 (diff)
downloadlinux-dd73e722591764d52522fd4af139e626dc076aea.tar.bz2
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.c4
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);