Skip to content

Commit 5b4560c

Browse files
Prathu Baroniatmlind
authored andcommitted
arm: omap1: replace printk() with pr_err macro
Use pr_err() macro instead of printk(KERN_ERR "..."). Signed-off-by: Prathu Baronia <[email protected]> Message-Id: <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent b5b2e00 commit 5b4560c

File tree

1 file changed

+1
-1
lines changed
  • arch/arm/mach-omap1

1 file changed

+1
-1
lines changed

arch/arm/mach-omap1/pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ static int __init omap_pm_init(void)
632632

633633
error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr);
634634
if (error)
635-
printk(KERN_ERR "sysfs_create_file failed: %d\n", error);
635+
pr_err("sysfs_create_file failed: %d\n", error);
636636

637637
if (cpu_is_omap16xx()) {
638638
/* configure LOW_PWR pin */

0 commit comments

Comments
 (0)