diff mbox

acpi: nvs: Fixed checkpatch.pl warning.

Message ID 1421230733-24149-2-git-send-email-moritz.fischer@ettus.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Moritz Fischer Jan. 14, 2015, 10:18 a.m. UTC
Patch replaces printk(KERN_INFO with pr_info.

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

Patch

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)