Commit 3ecace31 authored by Barnabás Pőcze's avatar Barnabás Pőcze Committed by Hans de Goede

platform/x86: wmi: fix checkpatch warnings

Fix the following two checkpatch warnings:

 * "space required before the open parenthesis '('"
 * "that open brace { should be on the previous line"
Signed-off-by: default avatarBarnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210904175450.156801-3-pobrn@protonmail.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 07ce4cfd
...@@ -488,7 +488,7 @@ static void wmi_notify_debug(u32 value, void *context) ...@@ -488,7 +488,7 @@ static void wmi_notify_debug(u32 value, void *context)
return; return;
pr_info("DEBUG Event "); pr_info("DEBUG Event ");
switch(obj->type) { switch (obj->type) {
case ACPI_TYPE_BUFFER: case ACPI_TYPE_BUFFER:
pr_cont("BUFFER_TYPE - length %d\n", obj->buffer.length); pr_cont("BUFFER_TYPE - length %d\n", obj->buffer.length);
break; break;
...@@ -1277,8 +1277,7 @@ static void acpi_wmi_notify_handler(acpi_handle handle, u32 event, ...@@ -1277,8 +1277,7 @@ static void acpi_wmi_notify_handler(acpi_handle handle, u32 event,
if (wblock->acpi_device->handle == handle && if (wblock->acpi_device->handle == handle &&
(block->flags & ACPI_WMI_EVENT) && (block->flags & ACPI_WMI_EVENT) &&
(block->notify_id == event)) (block->notify_id == event)) {
{
found_it = true; found_it = true;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment