Skip to content

Commit

Permalink
platform/x86: wmi: Fix indentation in some cases
Browse files Browse the repository at this point in the history
There is no need to split lines as they perfectly fit 80 character limit.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  • Loading branch information
Andy Shevchenko committed Apr 23, 2020
1 parent f9dffc1 commit 6701cc8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions drivers/platform/x86/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,7 @@ static void wmi_free_devices(struct acpi_device *device)
}
}

static bool guid_already_parsed(struct acpi_device *device,
const u8 *guid)
static bool guid_already_parsed(struct acpi_device *device, const u8 *guid)
{
struct wmi_block *wblock;

Expand Down Expand Up @@ -1327,10 +1326,8 @@ static void acpi_wmi_notify_handler(acpi_handle handle, u32 event,
wblock->handler(event, wblock->handler_data);
}

if (debug_event) {
pr_info("DEBUG Event GUID: %pUL\n",
wblock->gblock.guid);
}
if (debug_event)
pr_info("DEBUG Event GUID: %pUL\n", wblock->gblock.guid);

acpi_bus_generate_netlink_event(
wblock->acpi_device->pnp.device_class,
Expand Down

0 comments on commit 6701cc8

Please sign in to comment.