On Tue, 15 Aug 2023 15:23:46 +0800, Yajun Deng wrote: > There are a lot of duplicate codes for checking if the dma has some > capability. > > Define a temporary macro that is used to check if the dma claims some > capability and if the corresponding function is implemented. > > > [...] Applied, thanks! [1/1] dmaengine: Simplify dma_async_device_register() commit: 81ebed8aa2c213939a4670f508031a57d4ecbb70 Best regards, -- ~Vinod