diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-14 15:59:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-18 17:39:58 +0200 |
commit | 6d572d39b21fdd7411fe855a4fad479683ad99c5 (patch) | |
tree | ef47aa138bf8260b477b694c69fe82f8e294fa92 /drivers/acpi | |
parent | 6a8f57ae2eb07ab39a6f0ccad60c760743051026 (diff) |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index a96da65057b1..2f2517d6f9ef 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -623,8 +623,9 @@ 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) |