arm: omap1: replace printk() with pr_err macro
Use pr_err() macro instead of printk(KERN_ERR "..."). Signed-off-by: Prathu Baronia <quic_pbaronia@quicinc.com> Message-Id: <20230518103324.881394-1-quic_pbaronia@quicinc.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
committed by
Tony Lindgren
parent
b5b2e006c9
commit
5b4560cf15
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user