[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <96da3e12-7d40-458e-9f65-05606dca201f@linaro.org>
Date: Wed, 11 Oct 2023 11:03:47 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Yang Li <yang.lee@...ux.alibaba.com>, jernej.skrabec@...il.com,
samuel@...lland.org, wens@...e.org
Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev
Subject: Re: [PATCH -next] clocksource/drivers/sun5i: Remove surplus dev_err()
when using platform_get_irq()
On 31/08/2023 06:14, Yang Li wrote:
> There is no need to call the dev_err() function directly to print a
> custom message when handling an error from either the platform_get_irq()
> or platform_get_irq_byname() functions as both are going to display an
> appropriate error message in case of a failure.
>
> ./drivers/clocksource/timer-sun5i.c:260:2-9: line 260 is redundant because platform_get_irq() already prints an error
>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists