Re: [PATCH v6 40/40] dma: cirrus: remove platform code

From: Andy Shevchenko
Date: Wed Dec 13 2023 - 13:31:00 EST


On Tue, Dec 12, 2023 at 11:20:57AM +0300, Nikita Shubin wrote:
> Remove DMA platform header, from now on we use device tree for dma

DMA

> clients.

...

> +static inline bool ep93xx_dma_chan_is_m2p(struct dma_chan *chan)
> +{
> + if (device_is_compatible(chan->device->dev, "cirrus,ep9301-dma-m2p"))
> + return true;
> +
> + return !strcmp(dev_name(chan->device->dev), "ep93xx-dma-m2p");
> +}

Hmm... Isn't the same as new helper in a header in another patch?

--
With Best Regards,
Andy Shevchenko