* [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM
@ 2025-08-21 8:06 Xichao Zhao
2025-08-21 8:06 ` [PATCH 2/7] iio: adc: " Xichao Zhao
2025-08-21 8:13 ` [PATCH 0/7] iio: " Andy Shevchenko
0 siblings, 2 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-21 8:06 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
Andreas Klinger, Haibo Chen, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marius Cristea,
Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Heiko Stuebner, Francesco Dolcini, João Paulo Gonçalves,
Hugo Villeneuve, Gustavo Silva, Tomasz Duszynski, Jagath Jog J,
Crt Mori, Xichao Zhao, Per-Daniel Olsson, Waqar Hameed, Yasin Lee,
Julien Stephan, open list:IIO SUBSYSTEM AND DRIVERS, open list,
open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.
Xichao Zhao (7):
iio: accel: msa311: Remove dev_err_probe() if error is -ENOMEM
iio: adc: Remove dev_err_probe() if error is -ENOMEM
iio: chemical: Remove dev_err_probe() if error is -ENOMEM
iio: imu: bmi323: Remove dev_err_probe() if error is -ENOMEM
iio: light: Remove dev_err_probe() if error is -ENOMEM
iio: proximity: Remove dev_err_probe() if error is -ENOMEM
iio: temperature: mlx90635: Remove dev_err_probe() if error is -ENOMEM
drivers/iio/accel/msa311.c | 8 +++-----
drivers/iio/adc/hx711.c | 2 +-
drivers/iio/adc/imx93_adc.c | 3 +--
drivers/iio/adc/mcp3564.c | 2 +-
drivers/iio/adc/meson_saradc.c | 2 +-
drivers/iio/adc/rockchip_saradc.c | 3 +--
drivers/iio/adc/spear_adc.c | 3 +--
drivers/iio/adc/ti-ads1119.c | 6 ++----
drivers/iio/adc/ti-ads7924.c | 3 +--
drivers/iio/adc/vf610_adc.c | 2 +-
drivers/iio/chemical/ens160_core.c | 3 +--
drivers/iio/chemical/scd30_core.c | 2 +-
drivers/iio/imu/bmi323/bmi323_core.c | 3 +--
drivers/iio/light/opt4060.c | 2 +-
drivers/iio/light/veml6040.c | 3 +--
drivers/iio/proximity/d3323aa.c | 3 +--
drivers/iio/proximity/hx9023s.c | 3 +--
drivers/iio/proximity/irsd200.c | 6 ++----
drivers/iio/temperature/mlx90635.c | 2 +-
19 files changed, 23 insertions(+), 38 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/7] iio: adc: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 8:06 [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM Xichao Zhao
@ 2025-08-21 8:06 ` Xichao Zhao
2025-08-21 20:31 ` Martin Blumenstingl
2025-08-21 8:13 ` [PATCH 0/7] iio: " Andy Shevchenko
1 sibling, 1 reply; 8+ messages in thread
From: Xichao Zhao @ 2025-08-21 8:06 UTC (permalink / raw)
To: Andreas Klinger, Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Haibo Chen, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marius Cristea,
Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Heiko Stuebner, Francesco Dolcini, João Paulo Gonçalves,
Hugo Villeneuve,
open list:AVIA HX711 ANALOG DIGITAL CONVERTER IIO DRIVER,
open list, open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
Cc: Xichao Zhao
The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
drivers/iio/adc/hx711.c | 2 +-
drivers/iio/adc/imx93_adc.c | 3 +--
drivers/iio/adc/mcp3564.c | 2 +-
drivers/iio/adc/meson_saradc.c | 2 +-
drivers/iio/adc/rockchip_saradc.c | 3 +--
drivers/iio/adc/spear_adc.c | 3 +--
drivers/iio/adc/ti-ads1119.c | 6 ++----
drivers/iio/adc/ti-ads7924.c | 3 +--
drivers/iio/adc/vf610_adc.c | 2 +-
9 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 7235fa9e13d5..1db8b68a8f64 100644
--- a/drivers/iio/adc/hx711.c
+++ b/drivers/iio/adc/hx711.c
@@ -465,7 +465,7 @@ static int hx711_probe(struct platform_device *pdev)
indio_dev = devm_iio_device_alloc(dev, sizeof(struct hx711_data));
if (!indio_dev)
- return dev_err_probe(dev, -ENOMEM, "failed to allocate IIO device\n");
+ return -ENOMEM;
hx711_data = iio_priv(indio_dev);
hx711_data->dev = dev;
diff --git a/drivers/iio/adc/imx93_adc.c b/drivers/iio/adc/imx93_adc.c
index 7feaafd2316f..f887cba44ec6 100644
--- a/drivers/iio/adc/imx93_adc.c
+++ b/drivers/iio/adc/imx93_adc.c
@@ -308,8 +308,7 @@ static int imx93_adc_probe(struct platform_device *pdev)
indio_dev = devm_iio_device_alloc(dev, sizeof(*adc));
if (!indio_dev)
- return dev_err_probe(dev, -ENOMEM,
- "Failed allocating iio device\n");
+ return -ENOMEM;
adc = iio_priv(indio_dev);
adc->dev = dev;
diff --git a/drivers/iio/adc/mcp3564.c b/drivers/iio/adc/mcp3564.c
index a68f1cd6883e..cd679ff10a97 100644
--- a/drivers/iio/adc/mcp3564.c
+++ b/drivers/iio/adc/mcp3564.c
@@ -1019,7 +1019,7 @@ static int mcp3564_parse_fw_children(struct iio_dev *indio_dev)
channels = devm_kcalloc(dev, num_ch, sizeof(*channels), GFP_KERNEL);
if (!channels)
- return dev_err_probe(dev, -ENOMEM, "Can't allocate memory\n");
+ return -ENOMEM;
device_for_each_child_node_scoped(dev, child) {
node_name = fwnode_get_name(child);
diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c
index 4ff88603e4fc..f7e7172ef4f6 100644
--- a/drivers/iio/adc/meson_saradc.c
+++ b/drivers/iio/adc/meson_saradc.c
@@ -1357,7 +1357,7 @@ static int meson_sar_adc_probe(struct platform_device *pdev)
indio_dev = devm_iio_device_alloc(dev, sizeof(*priv));
if (!indio_dev)
- return dev_err_probe(dev, -ENOMEM, "failed allocating iio device\n");
+ return -ENOMEM;
priv = iio_priv(indio_dev);
init_completion(&priv->done);
diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
index bd62daea0a3e..67771a70dfe4 100644
--- a/drivers/iio/adc/rockchip_saradc.c
+++ b/drivers/iio/adc/rockchip_saradc.c
@@ -466,8 +466,7 @@ static int rockchip_saradc_probe(struct platform_device *pdev)
indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*info));
if (!indio_dev)
- return dev_err_probe(&pdev->dev, -ENOMEM,
- "failed allocating iio device\n");
+ return -ENOMEM;
info = iio_priv(indio_dev);
diff --git a/drivers/iio/adc/spear_adc.c b/drivers/iio/adc/spear_adc.c
index e3a865c79686..418c909ff35b 100644
--- a/drivers/iio/adc/spear_adc.c
+++ b/drivers/iio/adc/spear_adc.c
@@ -274,8 +274,7 @@ static int spear_adc_probe(struct platform_device *pdev)
indio_dev = devm_iio_device_alloc(dev, sizeof(struct spear_adc_state));
if (!indio_dev)
- return dev_err_probe(dev, -ENOMEM,
- "failed allocating iio device\n");
+ return -ENOMEM;
st = iio_priv(indio_dev);
st->dev = dev;
diff --git a/drivers/iio/adc/ti-ads1119.c b/drivers/iio/adc/ti-ads1119.c
index d2f86e1ec656..0e0628084b5d 100644
--- a/drivers/iio/adc/ti-ads1119.c
+++ b/drivers/iio/adc/ti-ads1119.c
@@ -693,8 +693,7 @@ static int ads1119_probe(struct i2c_client *client)
indio_dev = devm_iio_device_alloc(dev, sizeof(*st));
if (!indio_dev)
- return dev_err_probe(dev, -ENOMEM,
- "Failed to allocate IIO device\n");
+ return -ENOMEM;
st = iio_priv(indio_dev);
st->client = client;
@@ -750,8 +749,7 @@ static int ads1119_probe(struct i2c_client *client)
indio_dev->name,
iio_device_id(indio_dev));
if (!st->trig)
- return dev_err_probe(dev, -ENOMEM,
- "Failed to allocate IIO trigger\n");
+ return -ENOMEM;
st->trig->ops = &ads1119_trigger_ops;
iio_trigger_set_drvdata(st->trig, indio_dev);
diff --git a/drivers/iio/adc/ti-ads7924.c b/drivers/iio/adc/ti-ads7924.c
index b1f745f75dbe..30285765c299 100644
--- a/drivers/iio/adc/ti-ads7924.c
+++ b/drivers/iio/adc/ti-ads7924.c
@@ -355,8 +355,7 @@ static int ads7924_probe(struct i2c_client *client)
indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
if (!indio_dev)
- return dev_err_probe(dev, -ENOMEM,
- "failed to allocate iio device\n");
+ return -ENOMEM;
data = iio_priv(indio_dev);
diff --git a/drivers/iio/adc/vf610_adc.c b/drivers/iio/adc/vf610_adc.c
index 1b3b1843a801..d7182ed0d2a7 100644
--- a/drivers/iio/adc/vf610_adc.c
+++ b/drivers/iio/adc/vf610_adc.c
@@ -832,7 +832,7 @@ static int vf610_adc_probe(struct platform_device *pdev)
indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(struct vf610_adc));
if (!indio_dev)
- return dev_err_probe(&pdev->dev, -ENOMEM, "Failed allocating iio device\n");
+ return -ENOMEM;
info = iio_priv(indio_dev);
info->dev = &pdev->dev;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 8:06 [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM Xichao Zhao
2025-08-21 8:06 ` [PATCH 2/7] iio: adc: " Xichao Zhao
@ 2025-08-21 8:13 ` Andy Shevchenko
2025-08-21 11:50 ` Crt Mori
2025-08-25 8:41 ` Jonathan Cameron
1 sibling, 2 replies; 8+ messages in thread
From: Andy Shevchenko @ 2025-08-21 8:13 UTC (permalink / raw)
To: Xichao Zhao
Cc: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
Andreas Klinger, Haibo Chen, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marius Cristea,
Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Heiko Stuebner, Francesco Dolcini, João Paulo Gonçalves,
Hugo Villeneuve, Gustavo Silva, Tomasz Duszynski, Jagath Jog J,
Crt Mori, Per-Daniel Olsson, Waqar Hameed, Yasin Lee,
Julien Stephan, open list:IIO SUBSYSTEM AND DRIVERS, open list,
open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
On Thu, Aug 21, 2025 at 11:07 AM Xichao Zhao <zhao.xichao@vivo.com> wrote:
>
> The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
when the error
> Therefore, remove the useless call to dev_err_probe(), and just
> return the value instead.
In favour of this series,
Reviewed-by: Andy Shevchenko <andy@kernel.org>
(yes, I indeed looked at all patches in this one :-)
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 8:13 ` [PATCH 0/7] iio: " Andy Shevchenko
@ 2025-08-21 11:50 ` Crt Mori
2025-08-21 12:47 ` Andy Shevchenko
2025-08-25 8:41 ` Jonathan Cameron
1 sibling, 1 reply; 8+ messages in thread
From: Crt Mori @ 2025-08-21 11:50 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Xichao Zhao, Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Andreas Klinger, Haibo Chen, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Marius Cristea, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Heiko Stuebner, Francesco Dolcini,
João Paulo Gonçalves, Hugo Villeneuve, Gustavo Silva,
Tomasz Duszynski, Jagath Jog J, Per-Daniel Olsson, Waqar Hameed,
Yasin Lee, Julien Stephan, open list:IIO SUBSYSTEM AND DRIVERS,
open list, open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
Sorry duplicate - as I commented on driver.
On Thu, 21 Aug 2025 at 10:13, Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
>
> On Thu, Aug 21, 2025 at 11:07 AM Xichao Zhao <zhao.xichao@vivo.com> wrote:
> >
> > The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
>
> when the error
>
> > Therefore, remove the useless call to dev_err_probe(), and just
> > return the value instead.
>
> In favour of this series,
> Reviewed-by: Andy Shevchenko <andy@kernel.org>
> (yes, I indeed looked at all patches in this one :-)
>
I am not sure I agree with this. It provides an error message with
reason and I understand we want as few as possible, but this would be
a valid remark inside the logs, but without it we only get error value
to figure out where it comes from?
> --
> With Best Regards,
> Andy Shevchenko
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 11:50 ` Crt Mori
@ 2025-08-21 12:47 ` Andy Shevchenko
0 siblings, 0 replies; 8+ messages in thread
From: Andy Shevchenko @ 2025-08-21 12:47 UTC (permalink / raw)
To: Crt Mori
Cc: Xichao Zhao, Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Andreas Klinger, Haibo Chen, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Marius Cristea, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Heiko Stuebner, Francesco Dolcini,
João Paulo Gonçalves, Hugo Villeneuve, Gustavo Silva,
Tomasz Duszynski, Jagath Jog J, Per-Daniel Olsson, Waqar Hameed,
Yasin Lee, Julien Stephan, open list:IIO SUBSYSTEM AND DRIVERS,
open list, open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
On Thu, Aug 21, 2025 at 2:50 PM Crt Mori <cmo@melexis.com> wrote:
>
> Sorry duplicate - as I commented on driver.
Yep, answered there.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/7] iio: adc: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 8:06 ` [PATCH 2/7] iio: adc: " Xichao Zhao
@ 2025-08-21 20:31 ` Martin Blumenstingl
2025-08-25 8:36 ` Jonathan Cameron
0 siblings, 1 reply; 8+ messages in thread
From: Martin Blumenstingl @ 2025-08-21 20:31 UTC (permalink / raw)
To: Xichao Zhao
Cc: Andreas Klinger, Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Haibo Chen, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marius Cristea,
Neil Armstrong, Kevin Hilman, Jerome Brunet, Heiko Stuebner,
Francesco Dolcini, João Paulo Gonçalves,
Hugo Villeneuve,
open list:AVIA HX711 ANALOG DIGITAL CONVERTER IIO DRIVER,
open list, open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
On Thu, Aug 21, 2025 at 10:07 AM Xichao Zhao <zhao.xichao@vivo.com> wrote:
>
> The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
> Therefore, remove the useless call to dev_err_probe(), and just
> return the value instead.
>
> Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
> ---
> drivers/iio/adc/hx711.c | 2 +-
> drivers/iio/adc/imx93_adc.c | 3 +--
> drivers/iio/adc/mcp3564.c | 2 +-
> drivers/iio/adc/meson_saradc.c | 2 +-
For meson_saradc:
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/7] iio: adc: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 20:31 ` Martin Blumenstingl
@ 2025-08-25 8:36 ` Jonathan Cameron
0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Cameron @ 2025-08-25 8:36 UTC (permalink / raw)
To: Martin Blumenstingl
Cc: Xichao Zhao, Andreas Klinger, David Lechner, Nuno Sá,
Andy Shevchenko, Haibo Chen, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marius Cristea,
Neil Armstrong, Kevin Hilman, Jerome Brunet, Heiko Stuebner,
Francesco Dolcini, João Paulo Gonçalves,
Hugo Villeneuve,
open list:AVIA HX711 ANALOG DIGITAL CONVERTER IIO DRIVER,
open list, open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
On Thu, 21 Aug 2025 22:31:51 +0200
Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
> On Thu, Aug 21, 2025 at 10:07 AM Xichao Zhao <zhao.xichao@vivo.com> wrote:
> >
> > The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
> > Therefore, remove the useless call to dev_err_probe(), and just
> > return the value instead.
> >
> > Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
> > ---
> > drivers/iio/adc/hx711.c | 2 +-
> > drivers/iio/adc/imx93_adc.c | 3 +--
> > drivers/iio/adc/mcp3564.c | 2 +-
> > drivers/iio/adc/meson_saradc.c | 2 +-
> For meson_saradc:
> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>
Hi Martin (applies to others in this series),
For a comment about a tag please use the style submitting-patches suggests.
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # for meson_saradc
Then the tooling picks it automatically. Sometimes I remember to edit commits
to tidy this up, but not always!
Jonathan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM
2025-08-21 8:13 ` [PATCH 0/7] iio: " Andy Shevchenko
2025-08-21 11:50 ` Crt Mori
@ 2025-08-25 8:41 ` Jonathan Cameron
1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Cameron @ 2025-08-25 8:41 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Xichao Zhao, David Lechner, Nuno Sá, Andy Shevchenko,
Andreas Klinger, Haibo Chen, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marius Cristea,
Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Heiko Stuebner, Francesco Dolcini, João Paulo Gonçalves,
Hugo Villeneuve, Gustavo Silva, Tomasz Duszynski, Jagath Jog J,
Crt Mori, Per-Daniel Olsson, Waqar Hameed, Yasin Lee,
Julien Stephan, open list:IIO SUBSYSTEM AND DRIVERS, open list,
open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
open list:ARM/Amlogic Meson SoC support,
open list:ARM/Rockchip SoC support
On Thu, 21 Aug 2025 11:13:00 +0300
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> On Thu, Aug 21, 2025 at 11:07 AM Xichao Zhao <zhao.xichao@vivo.com> wrote:
> >
> > The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
>
> when the error
>
Tweaked and applied.
> > Therefore, remove the useless call to dev_err_probe(), and just
> > return the value instead.
>
> In favour of this series,
> Reviewed-by: Andy Shevchenko <andy@kernel.org>
> (yes, I indeed looked at all patches in this one :-)
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-08-25 8:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 8:06 [PATCH 0/7] iio: Remove dev_err_probe() if error is -ENOMEM Xichao Zhao
2025-08-21 8:06 ` [PATCH 2/7] iio: adc: " Xichao Zhao
2025-08-21 20:31 ` Martin Blumenstingl
2025-08-25 8:36 ` Jonathan Cameron
2025-08-21 8:13 ` [PATCH 0/7] iio: " Andy Shevchenko
2025-08-21 11:50 ` Crt Mori
2025-08-21 12:47 ` Andy Shevchenko
2025-08-25 8:41 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).