projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8f57a
)
ACPI: bus: Add missing braces to acpi_sb_notify()
author
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 14 Apr 2023 13:59:52 +0000
(15:59 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Tue, 18 Apr 2023 15:39:58 +0000
(17:39 +0200)
As per the kernel coding style.
No functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/bus.c
b/drivers/acpi/bus.c
index a96da65057b19bfb46f390966831a23509291dcb..2f2517d6f9ef9fb0a54c121cc32974dda6e9abc1 100644
(file)
--- 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)