* [PATCH] regulator: tps65185: Remove redundant dev_err_probe()
@ 2026-09-04 14:46 Diederik de Haas
2026-09-04 16:38 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Diederik de Haas @ 2026-09-04 14:46 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown
Cc: linux-kernel, Andreas Kemnade, Yufan Chen,
Surendra Singh Chouhan, Mario Rugiero, linux-rockchip,
Diederik de Haas
The devm_request_threaded_irq() function now automatically logs detailed
error messages on failure. This eliminates the need for driver-specific
dev_err_probe() calls that print generic messages.
Signed-off-by: Diederik de Haas <diederik@cknow-tech.com>
---
drivers/regulator/tps65185.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/tps65185.c b/drivers/regulator/tps65185.c
index 6a3130177e7a..4865227e444a 100644
--- a/drivers/regulator/tps65185.c
+++ b/drivers/regulator/tps65185.c
@@ -392,8 +392,7 @@ static int tps65185_probe(struct i2c_client *client)
IRQF_TRIGGER_RISING | IRQF_ONESHOT,
"PGOOD", data);
if (ret)
- return dev_err_probe(&client->dev, ret,
- "failed to request power good irq\n");
+ return ret;
if (client->irq) {
ret = devm_request_threaded_irq(&client->dev, client->irq,
@@ -401,8 +400,7 @@ static int tps65185_probe(struct i2c_client *client)
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
"tps65185", data);
if (ret)
- return dev_err_probe(&client->dev, ret,
- "failed to request irq\n");
+ return ret;
}
ret = regmap_update_bits(data->regmap, TPS65185_REG_INT_EN2, BIT(0), BIT(0));
--
2.55.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: tps65185: Remove redundant dev_err_probe()
2026-09-04 14:46 [PATCH] regulator: tps65185: Remove redundant dev_err_probe() Diederik de Haas
@ 2026-09-04 16:38 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-09-04 16:38 UTC (permalink / raw)
To: Liam Girdwood, Diederik de Haas
Cc: linux-kernel, Andreas Kemnade, Yufan Chen,
Surendra Singh Chouhan, Mario Rugiero, linux-rockchip
On Fri, 04 Sep 2026 16:46:31 +0200, Diederik de Haas wrote:
> regulator: tps65185: Remove redundant dev_err_probe()
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.4
Thanks!
[1/1] regulator: tps65185: Remove redundant dev_err_probe()
https://git.kernel.org/broonie/regulator/c/761f34e333ac
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-04 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 14:46 [PATCH] regulator: tps65185: Remove redundant dev_err_probe() Diederik de Haas
2026-09-04 16:38 ` Mark Brown
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®