diff mbox series

[v2,2/4] dmaengine: Use dma_request_channel() instead of __dma_request_channel()

Message ID 20241008173351.2246796-3-andriy.shevchenko@linux.intel.com (mailing list archive)
State New
Headers show
Series dmaengine: dma_request_chan*() amendments | expand

Commit Message

Andy Shevchenko Oct. 8, 2024, 5:27 p.m. UTC
Reduce use of internal __dma_request_channel() function in public
dmaengine.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/dmaengine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index b4e6de892d34..2f46056096d6 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -1639,7 +1639,7 @@  static inline struct dma_chan
 	if (!fn || !fn_param)
 		return NULL;
 
-	return __dma_request_channel(&mask, fn, fn_param, NULL);
+	return dma_request_channel(mask, fn, fn_param);
 }
 
 static inline char *