From: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
To: Chen Ni <nichen@iscas.ac.cn>, <gregkh@linuxfoundation.org>,
<jirislaby@kernel.org>, <u.kleine-koenig@baylibre.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-serial@vger.kernel.org>
Subject: Re: [PATCH] serial: lantiq: Remove unnecessary print function dev_err()
Date: Tue, 1 Apr 2025 14:20:35 +0530 [thread overview]
Message-ID: <d5166661-3e51-46c9-b675-e0ec973ea5a7@quicinc.com> (raw)
In-Reply-To: <20250401080337.2187400-1-nichen@iscas.ac.cn>
On 4/1/2025 1:33 PM, Chen Ni wrote:
> Function dev_err() is redundant because platform_get_irq()
> already prints an error.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
> ---
> drivers/tty/serial/lantiq.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
> index 58a3ab030d67..62cd9e0bb377 100644
> --- a/drivers/tty/serial/lantiq.c
> +++ b/drivers/tty/serial/lantiq.c
> @@ -773,10 +773,8 @@ static int fetch_irq_intel(struct device *dev, struct ltq_uart_port *ltq_port)
> int ret;
>
> ret = platform_get_irq(to_platform_device(dev), 0);
> - if (ret < 0) {
> - dev_err(dev, "failed to fetch IRQ for serial port\n");
> + if (ret < 0)
> return ret;
> - }
> ltq_port->common_irq = ret;
> port->irq = ret;
>
prev parent reply other threads:[~2025-04-01 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 8:03 Chen Ni
2025-04-01 8:50 ` Mukesh Kumar Savaliya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5166661-3e51-46c9-b675-e0ec973ea5a7@quicinc.com \
--to=quic_msavaliy@quicinc.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=nichen@iscas.ac.cn \
--cc=u.kleine-koenig@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®