From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Yihao Han <hanyihao@vivo.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Sean Young <sean@mess.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.15.y 1/2] media: meson-ir-tx: remove superfluous dev_err()
Date: Mon, 9 Nov 2026 22:09:56 -0500 [thread overview]
Message-ID: <20261110030950.4189721-1-sashal@kernel.org> (raw)
In-Reply-To: <20261107055721-failed-5.15-2eb8a4cba70f@kernel.org>
From: Yihao Han <hanyihao@vivo.com>
[ Upstream commit 82b4737fd001247527405b19045c25bf1622ab6d ]
Remove dev_err() messages after platform_get_irq*() failures.
platform_get_irq() already prints an error.
Generated by: scripts/coccinelle/api/platform_get_irq.cocci
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Stable-dep-of: 2eb8a4cba70f ("media: meson-ir-tx: Ensure probe error is propagated")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/media/rc/meson-ir-tx.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/media/rc/meson-ir-tx.c b/drivers/media/rc/meson-ir-tx.c
index 498692ef2e803..e050430ffc7b3 100644
--- a/drivers/media/rc/meson-ir-tx.c
+++ b/drivers/media/rc/meson-ir-tx.c
@@ -327,10 +327,8 @@ static int __init meson_irtx_probe(struct platform_device *pdev)
return PTR_ERR(ir->reg_base);
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(dev, "no irq resource found\n");
+ if (irq < 0)
return -ENODEV;
- }
ir->dev = dev;
ir->carrier = MIRTX_DEFAULT_CARRIER;
--
2.53.0
next prev parent reply other threads:[~2026-11-10 3:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-07 10:57 FAILED: patch "[PATCH] media: meson-ir-tx: Ensure probe error is propagated" failed to apply to 5.15-stable tree Sasha Levin
2026-11-10 3:09 ` Sasha Levin [this message]
2026-11-10 3:09 ` [PATCH 5.15.y 2/2] media: meson-ir-tx: Ensure probe error is propagated Sasha Levin
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=20261110030950.4189721-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=hanyihao@vivo.com \
--cc=mchehab@kernel.org \
--cc=narmstrong@baylibre.com \
--cc=sean@mess.org \
--cc=stable@vger.kernel.org \
/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