OSDN Git Service

eeepc-laptop: fix pr_fmt patch
authorCorentin Chary <corentincj@iksaif.net>
Sun, 27 Sep 2009 18:48:05 +0000 (20:48 +0200)
committerCorentin Chary <corentincj@iksaif.net>
Wed, 30 Sep 2009 20:17:43 +0000 (22:17 +0200)
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
drivers/platform/x86/eeepc-laptop.c

index 5ba80e3..fc79127 100644 (file)
@@ -862,7 +862,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
        status = acpi_install_notify_handler(ehotk->handle, ACPI_SYSTEM_NOTIFY,
                                             eeepc_hotk_notify, ehotk);
        if (ACPI_FAILURE(status))
-               printk(EEEPC_ERR "Error installing notify handler\n");
+               pr_err("Error installing notify handler\n");
 
        eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P6");
        eeepc_register_rfkill_notifier("\\_SB.PCI0.P0P7");
@@ -939,7 +939,7 @@ static int eeepc_hotk_remove(struct acpi_device *device, int type)
        status = acpi_remove_notify_handler(ehotk->handle, ACPI_SYSTEM_NOTIFY,
                                            eeepc_hotk_notify);
        if (ACPI_FAILURE(status))
-               printk(EEEPC_ERR "Error removing notify handler\n");
+               pr_err("Error removing notify handler\n");
 
        eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P6");
        eeepc_unregister_rfkill_notifier("\\_SB.PCI0.P0P7");