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>
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 */