[-next,1/1] dmaengine: xilinx: xdma: Remove id table

Message ID 1677039534-50549-1-git-send-email-lizhi.hou@amd.com
State New
Headers
Series [-next,1/1] dmaengine: xilinx: xdma: Remove id table |

Commit Message

Lizhi Hou Feb. 22, 2023, 4:18 a.m. UTC
  The xdma_id_table is not needed, as the single entry "xdma" matches
driver name.
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
---
 drivers/dma/xilinx/xdma.c | 6 ------
 1 file changed, 6 deletions(-)
  

Patch

diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c
index 462109c61653..74e587adce13 100644
--- a/drivers/dma/xilinx/xdma.c
+++ b/drivers/dma/xilinx/xdma.c
@@ -953,16 +953,10 @@  static int xdma_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static const struct platform_device_id xdma_id_table[] = {
-	{ "xdma", 0},
-	{ },
-};
-
 static struct platform_driver xdma_driver = {
 	.driver		= {
 		.name = "xdma",
 	},
-	.id_table	= xdma_id_table,
 	.probe		= xdma_probe,
 	.remove		= xdma_remove,
 };