lkml.org 
[lkml]   [2020]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] iio: adc: xilinx: use even more devres
Date
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

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

\
 
 \ /
  Last update: 2020-10-26 14:37    [W:1.959 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site