Commit 5b4560cf authored by Prathu Baronia's avatar Prathu Baronia Committed by Tony Lindgren

arm: omap1: replace printk() with pr_err macro

Use pr_err() macro instead of printk(KERN_ERR "...").
Signed-off-by: default avatarPrathu Baronia <quic_pbaronia@quicinc.com>
Message-Id: <20230518103324.881394-1-quic_pbaronia@quicinc.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b5b2e006
......@@ -632,7 +632,7 @@ static int __init omap_pm_init(void)
error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr);
if (error)
printk(KERN_ERR "sysfs_create_file failed: %d\n", error);
pr_err("sysfs_create_file failed: %d\n", error);
if (cpu_is_omap16xx()) {
/* configure LOW_PWR pin */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment