diff mbox series

[1/3] dmaengine: Remove unused define for dma_request_slave_channel_reason()

Message ID 20200203101806.2441-2-peter.ujfalusi@ti.com (mailing list archive)
State Changes Requested
Headers show
Series dmaengine: Stear users towards dma_request_slave_chan() | expand

Commit Message

Peter Ujfalusi Feb. 3, 2020, 10:18 a.m. UTC
No users left in the kernel, it can be removed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 include/linux/dmaengine.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Geert Uytterhoeven Feb. 3, 2020, 1:35 p.m. UTC | #1
On Mon, Feb 3, 2020 at 11:32 AM Peter Ujfalusi <peter.ujfalusi@ti.com> wrote:
> No users left in the kernel, it can be removed.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

Last user removed in commit f339f979bb333ed5 ("iio: buffer-dmaengine: Use
dma_request_chan() directly for channel request"), so

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 9f232b7618f1..6702df107d79 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -1495,8 +1495,6 @@  static inline int dma_get_slave_caps(struct dma_chan *chan,
 }
 #endif
 
-#define dma_request_slave_channel_reason(dev, name) dma_request_chan(dev, name)
-
 static inline int dmaengine_desc_set_reuse(struct dma_async_tx_descriptor *tx)
 {
 	struct dma_slave_caps caps;