From: Andy Shevchenko Date: Wed, 5 Feb 2025 14:57:10 +0000 (+0200) Subject: dmaengine: Use dma_request_channel() instead of __dma_request_channel() X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1c83d3dfa0905590408595560629627cba4f9261;p=users%2Fwilly%2Flinux.git dmaengine: Use dma_request_channel() instead of __dma_request_channel() Reduce use of internal __dma_request_channel() function in public dmaengine.h. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20250205145757.889247-3-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 83cbf7197a76..a360e0330436 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -1646,7 +1646,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 *