platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify
authorHans de Goede <hdegoede@redhat.com>
Wed, 19 May 2021 13:56:18 +0000 (15:56 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 16 Jun 2021 15:47:49 +0000 (17:47 +0200)
The pr_debug() call in toshiba_haps_notify() is missing a newline at the
end of the string, add this.

BugLink: https://bugs.debian.org/799193
Reported-by: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210519135618.139701-1-hdegoede@redhat.com
drivers/platform/x86/toshiba_haps.c

index b237bd6b1ee54f4b90449d864acd3b0ab2774fe7..49e84095bb010739b23c6aa1e7e915905810ce61 100644 (file)
@@ -131,7 +131,7 @@ static const struct attribute_group haps_attr_group = {
  */
 static void toshiba_haps_notify(struct acpi_device *device, u32 event)
 {
-       pr_debug("Received event: 0x%x", event);
+       pr_debug("Received event: 0x%x\n", event);
 
        acpi_bus_generate_netlink_event(device->pnp.device_class,
                                        dev_name(&device->dev),