On Wed, 2023-12-13 at 20:30 +0200, Andy Shevchenko wrote: > 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? > Indeed it's internal now. Move here from platform header.