]> www.infradead.org Git - users/willy/linux.git/commitdiff
dmaengine: Use dma_request_channel() instead of __dma_request_channel()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 14:57:10 +0000 (16:57 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Feb 2025 10:58:53 +0000 (16:28 +0530)
Reduce use of internal __dma_request_channel() function in public
dmaengine.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250205145757.889247-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/dmaengine.h

index 83cbf7197a76b1582302939e8838acf42879b5af..a360e0330436470bfea17f8df567ff785e4293ea 100644 (file)
@@ -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 *