diff options
author | Prathu Baronia <quic_pbaronia@quicinc.com> | 2023-05-18 13:33:24 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2023-05-31 08:31:43 +0300 |
commit | 5b4560cf15602a4217d2f5664cf031d98780f0f0 (patch) | |
tree | c77cede87dcf9d1741c41b562160cf8c32850bd8 /arch/arm/mach-omap1/pm.c | |
parent | b5b2e006c98f97f2c83aeeb6e7e8fb32198cc43a (diff) | |
download | linux-5b4560cf15602a4217d2f5664cf031d98780f0f0.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 9761d8404949..6a5815aa05e6 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c @@ -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 */ |