Skip to content

Commit 6d572d3

Browse files
committed
ACPI: bus: Add missing braces to acpi_sb_notify()
As per the kernel coding style. No functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 6a8f57a commit 6d572d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/acpi/bus.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,9 @@ static void acpi_sb_notify(acpi_handle handle, u32 event, void *data)
623623
if (event == ACPI_SB_NOTIFY_SHUTDOWN_REQUEST) {
624624
if (!work_busy(&acpi_sb_work))
625625
schedule_work(&acpi_sb_work);
626-
} else
626+
} else {
627627
pr_warn("event %x is not supported by \\_SB device\n", event);
628+
}
628629
}
629630

630631
static int __init acpi_setup_sb_notify_handler(void)

0 commit comments

Comments
 (0)