Re: [PATCH 1/1] dmaengine: amd: qdma: Remove using the private get and set dma_ops APIs
From: Christoph Hellwig
Date: Wed Sep 18 2024 - 08:13:24 EST
On Tue, Sep 17, 2024 at 09:17:40AM -0700, Lizhi Hou wrote:
> The get_dma_ops and set_dma_ops APIs were never for driver to use. Remove
> these calls from QDMA driver. Instead, pass the DMA device pointer from the
> qdma_platdata structure.
Btw, this file should also drop the include of <linux/dma-map-ops.h>,
which is clearly marked as not for driver use.