Fix checkpatch warning in drivers/acpi/nvs.c
PATCH 1/1 Fix checkpatch warning in drivers/acpi/nvs.c
Hi,
attached a simple patch fixing a checkpatch warning about printk(KERN_INFO vs pr_info.
Moritz Fischer (1):
acpi: nvs: Fixed checkpatch.pl warning.
drivers/acpi/nvs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.3
PATCH 1/1 acpi: nvs: Fixed checkpatch.pl warning.
Patch replaces printk(KERN_INFO with pr_info.
Signed-off-by Moritz Fischer <[email protected]>
--- drivers/acpi/nvs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/nvs.c +2 -2
@@ -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)
Signature · 1 line
1.9.3
Quoted 4 lines · Moritz Fischer
Hi,
attached a simple patch fixing a checkpatch warning about printk(KERN_INFO vs
pr_info.
Which is not going to be applied unless it fixes a functional problem.
Thanks!
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.