dmaengine: ti: k3-psil: Use soc_device_match to get the psil map
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 3 Aug 2020 12:57:12 +0000 (15:57 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Aug 2020 05:20:30 +0000 (10:50 +0530)
commitce310bd70414392448d7f8301e0817151555a34e
tree65a3bf6d3880879abebf3232d2f9c96aeb48c50e
parent0ec083e50ca816953e65e3209c7199cd1a203ddc
dmaengine: ti: k3-psil: Use soc_device_match to get the psil map

Instead of separate of_machine_is_compatible() it is better to use
soc_device_match() and soc_device_attribute struct to get the PSI-L map
for the booted device.

By using soc_device_match() it is easier to add support for new devices.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200803125713.17829-2-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-psil.c