[PATCH 0/5] iio: adc: xilinx: use even more devres

From: Bartosz Golaszewski
Date: Mon Oct 26 2020 - 09:36:24 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

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.

Bartosz Golaszewski (5):
iio: adc: xilinx: use helper variable for &pdev->dev
iio: adc: xilinx: use devm_krealloc() instead of kfree() + kcalloc()
iio: adc: xilinx: use a devres action to disable and unprepare the
clock
iio: adc: xilinx: use devres for irq handling
iio: adc: xilinx: use iio devres helpers

drivers/iio/adc/xilinx-xadc-core.c | 146 +++++++++++++----------------
1 file changed, 65 insertions(+), 81 deletions(-)

--
2.29.1