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>
This commit is contained in:
parent
6a8f57ae2e
commit
6d572d39b2
|
@ -623,9 +623,10 @@ static void acpi_sb_notify(acpi_handle handle, u32 event, void *data)
|
|||
if (event == ACPI_SB_NOTIFY_SHUTDOWN_REQUEST) {
|
||||
if (!work_busy(&acpi_sb_work))
|
||||
schedule_work(&acpi_sb_work);
|
||||
} else
|
||||
} else {
|
||||
pr_warn("event %x is not supported by \\_SB device\n", event);
|
||||
}
|
||||
}
|
||||
|
||||
static int __init acpi_setup_sb_notify_handler(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue