[PATCH] acpi: nvs: Fixed checkpatch.pl warning.

From: Moritz Fischer
Date: Wed Jan 14 2015 - 05:19:54 EST


Patch replaces printk(KERN_INFO with pr_info.

Signed-off-by: Moritz Fischer <moritz.fischer@xxxxxxxxx>
---
drivers/acpi/nvs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c
index 85287b8..e22235c 100644
--- a/drivers/acpi/nvs.c
+++ b/drivers/acpi/nvs.c
@@ -171,7 +171,7 @@ int suspend_nvs_save(void)
{
struct nvs_page *entry;

- printk(KERN_INFO "PM: Saving platform NVS memory\n");
+ pr_info("PM: Saving platform NVS memory\n");

list_for_each_entry(entry, &nvs_list, node)
if (entry->data) {
@@ -203,7 +203,7 @@ void suspend_nvs_restore(void)
{
struct nvs_page *entry;

- printk(KERN_INFO "PM: Restoring platform NVS memory\n");
+ pr_info("PM: Restoring platform NVS memory\n");

list_for_each_entry(entry, &nvs_list, node)
if (entry->data)
--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/