dmaengine: Drop unnecessary of_match_device() calls
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 21:38:35 +0000 (16:38 -0500)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Oct 2023 05:25:16 +0000 (10:55 +0530)
commitc48de45d4cefc5a2f0d0e4101c39884326ac704c
tree20d0558911921bf7384f1ed5e96f48186052a74e
parenta67ba97dfb30486deb4661f770b954387acc898d
dmaengine: Drop unnecessary of_match_device() calls

If probe is reached, we've already matched the device and in the case of
DT matching, the struct device_node pointer will be set. Therefore, there
is no need to call of_match_device() in probe.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006213835.332848-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/k3dma.c
drivers/dma/mmp_pdma.c
drivers/dma/pxa_dma.c
drivers/dma/stm32-dma.c