Skip to content

iio: adc: xilinx: use even more devres

Bartosz Golaszewski linux-arm-kernel linux-iio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 7 repliesIn review
  2. v24 patches 8 repliesSuperseded
  3. v15 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- drop the devm_krealloc_array() helper

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: adc: xilinx: use helper variable for &pdev->devdrivers/iio/adc/xilinx-xadc-core.c+7 -60 replies
2/3iio: adc: xilinx: use devm_krealloc() instead of kfree() + kcalloc()drivers/iio/adc/xilinx-xadc-core.c+12 -50 replies
3/3iio: adc: xilinx: use more devres helpers and remove remove()drivers/iio/adc/xilinx-xadc-core.c+56 -732 replies

Reviews trailers per patch

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

PatchAnand Ashok Dumbre
SeriesR-b T-b
1/3
2/3
3/3

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

Read the v3 thread

Cover letter [PATH v3 0/3] iio: adc: xilinx: use even more devres

From: Bartosz Golaszewski <[email protected]>

This is a follow-up to commit 750628c79bb1 ("iio: adc: xilinx-xadc: use devm_krealloc()"). I noticed we can use even more devres helpers and entirely drop the remove() callback.

v1 -> v2:
- squash three patches adding more devres calls into one for easier review
- don't insist on the 80 characters limit
- add a new helper: devm_krealloc_array() and use it

v2 -> v3:
- drop the devm_krealloc_array() helper

Bartosz Golaszewski (3):
iio: adc: xilinx: use helper variable for &pdev->dev
iio: adc: xilinx: use devm_krealloc() instead of kfree() + kcalloc()
iio: adc: xilinx: use more devres helpers and remove remove()

 drivers/iio/adc/xilinx-xadc-core.c | 157 ++++++++++++++---------------
 1 file changed, 74 insertions(+), 83 deletions(-)
Signature · 1 line
2.29.1