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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */