Merge tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
Pull printk updates from Petr Mladek: - Allow to print symbolic error names via new %pe modifier. - Use pr_warn() instead of the remaining pr_warning() calls. Fix formatting of the related lines. - Add VSPRINTF entry to MAINTAINERS. * tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk: (32 commits) checkpatch: don't warn about new vsprintf pointer extension '%pe' MAINTAINERS: Add VSPRINTF tools lib api: Renaming pr_warning to pr_warn ASoC: samsung: Use pr_warn instead of pr_warning lib: cpu_rmap: Use pr_warn instead of pr_warning trace: Use pr_warn instead of pr_warning dma-debug: Use pr_warn instead of pr_warning vgacon: Use pr_warn instead of pr_warning fs: afs: Use pr_warn instead of pr_warning sh/intc: Use pr_warn instead of pr_warning scsi: Use pr_warn instead of pr_warning platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning platform/x86: asus-laptop: Use pr_warn instead of pr_warning platform/x86: eeepc-laptop: Use pr_warn instead of pr_warning oprofile: Use pr_warn instead of pr_warning of: Use pr_warn instead of pr_warning macintosh: Use pr_warn instead of pr_warning idsn: Use pr_warn instead of pr_warning ide: Use pr_warn instead of pr_warning crypto: n2: Use pr_warn instead of pr_warning ...
This commit is contained in:
@@ -1148,7 +1148,7 @@ static void asus_als_switch(struct asus_laptop *asus, int value)
|
||||
ret = write_acpi_int(asus->handle, METHOD_ALS_CONTROL, value);
|
||||
}
|
||||
if (ret)
|
||||
pr_warning("Error setting light sensor switch\n");
|
||||
pr_warn("Error setting light sensor switch\n");
|
||||
|
||||
asus->light_switch = value;
|
||||
}
|
||||
|
@@ -578,7 +578,7 @@ static void eeepc_rfkill_hotplug(struct eeepc_laptop *eeepc, acpi_handle handle)
|
||||
|
||||
port = acpi_get_pci_dev(handle);
|
||||
if (!port) {
|
||||
pr_warning("Unable to find port\n");
|
||||
pr_warn("Unable to find port\n");
|
||||
goto out_unlock;
|
||||
}
|
||||
|
||||
|
@@ -243,7 +243,7 @@ static int oaktrail_backlight_init(void)
|
||||
|
||||
if (IS_ERR(bd)) {
|
||||
oaktrail_bl_device = NULL;
|
||||
pr_warning("Unable to register backlight device\n");
|
||||
pr_warn("Unable to register backlight device\n");
|
||||
return PTR_ERR(bd);
|
||||
}
|
||||
|
||||
@@ -313,20 +313,20 @@ static int __init oaktrail_init(void)
|
||||
|
||||
ret = platform_driver_register(&oaktrail_driver);
|
||||
if (ret) {
|
||||
pr_warning("Unable to register platform driver\n");
|
||||
pr_warn("Unable to register platform driver\n");
|
||||
goto err_driver_reg;
|
||||
}
|
||||
|
||||
oaktrail_device = platform_device_alloc(DRIVER_NAME, -1);
|
||||
if (!oaktrail_device) {
|
||||
pr_warning("Unable to allocate platform device\n");
|
||||
pr_warn("Unable to allocate platform device\n");
|
||||
ret = -ENOMEM;
|
||||
goto err_device_alloc;
|
||||
}
|
||||
|
||||
ret = platform_device_add(oaktrail_device);
|
||||
if (ret) {
|
||||
pr_warning("Unable to add platform device\n");
|
||||
pr_warn("Unable to add platform device\n");
|
||||
goto err_device_add;
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ static int __init oaktrail_init(void)
|
||||
|
||||
ret = oaktrail_rfkill_init();
|
||||
if (ret) {
|
||||
pr_warning("Setup rfkill failed\n");
|
||||
pr_warn("Setup rfkill failed\n");
|
||||
goto err_rfkill;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user