diff options
author | Yajun Deng <[email protected]> | 2023-08-15 15:23:46 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-08-21 18:36:46 +0530 |
commit | 81ebed8aa2c213939a4670f508031a57d4ecbb70 (patch) | |
tree | 081a51de86d69ad862a7e3a12b4e515100132b54 /tools/perf/util/c++/clang.cpp | |
parent | 33a0b734543ed5a44135e15f00429b94f75f2866 (diff) |
dmaengine: Simplify dma_async_device_register()
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.
Signed-off-by: Yajun Deng <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions