[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7ho7mgyzko.fsf@baylibre.com>
Date: Fri, 19 May 2023 10:56:55 -0700
From: Kevin Hilman <khilman@...libre.com>
To: Prathu Baronia <quic_pbaronia@...cinc.com>,
Kevin Hilman <khilman@...nel.org>,
Aaro Koskinen <aaro.koskinen@....fi>,
Janusz Krzysztofik <jmkrzyszt@...il.com>,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@...linux.org.uk>,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Cc: Prathu Baronia <quic_pbaronia@...cinc.com>
Subject: Re: [PATCH] arm: omap1: replace printk() with pr_err macro
Prathu Baronia <quic_pbaronia@...cinc.com> writes:
> Use pr_err() macro instead of printk(KERN_ERR "...").
>
> Signed-off-by: Prathu Baronia <quic_pbaronia@...cinc.com>
Acked-by: Kevin Hilman <khilman@...libre.com>
> ---
> arch/arm/mach-omap1/pm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 */
> --
> 2.25.1
Powered by blists - more mailing lists