Skip to content

Using dev_err_probe as it simplifies error handling and ensures consistent error reporting.

Prashant Rahul linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 15 repliesIn review
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- ti-adc084s021: drop unnecessary braces around single statement if block

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iio: adc: ti-adc081c: use dev_err_probe for probe time errordrivers/iio/adc/ti-adc081c.c+2 -40 replies
2/5iio: adc: ti-adc084s021: use dev_err_probe for probe time errordrivers/iio/adc/ti-adc084s021.c+2 -41 reply
3/5iio: adc: ti-adc108s102: log buffer setup failure in probedrivers/iio/adc/ti-adc108s102.c+1 -10 replies
4/5iio: adc: ti-adc161s626: log buffer setup failure in probedrivers/iio/adc/ti-adc161s626.c+1 -112 replies
5/5iio: adc: ti-adc0832: log buffer setup failure in probedrivers/iio/adc/ti-adc0832.c+1 -11 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Using dev_err_probe as it simplifies error handling and ensures consistent error reporting.

Errors are logged when enabling the regulator or adding the cleanup action fails, but not when buffer setup fails. This adds that missing log.

changes in v2:
- ti-adc084s021: drop unnecessary braces around single statement if block

v1: https://lore.kernel.org/linux-iio/[email protected]/

Prashant Rahul (5):
iio: adc: ti-adc081c: use dev_err_probe for probe time error
iio: adc: ti-adc084s021: use dev_err_probe for probe time error
iio: adc: ti-adc108s102: log buffer setup failure in probe
iio: adc: ti-adc161s626: log buffer setup failure in probe
iio: adc: ti-adc0832: log buffer setup failure in probe

 drivers/iio/adc/ti-adc081c.c    | 6 ++----
 drivers/iio/adc/ti-adc0832.c    | 2 +-
 drivers/iio/adc/ti-adc084s021.c | 6 ++----
 drivers/iio/adc/ti-adc108s102.c | 2 +-
 drivers/iio/adc/ti-adc161s626.c | 2 +-
 5 files changed, 7 insertions(+), 11 deletions(-)

--
2.54.0