Skip to contentSkip to conversation

dmaengine: xilinx: xdma: Remove id table

PATCH New Lizhi Hou 1 participant 1 message Feb 22, 2023

Subsystems (3)
lore
Share & tools
lore

Lizhi Hou

author maintainer
#0 lore raw

PATCH 1/1 dmaengine: xilinx: xdma: Remove id table

The xdma_id_table is not needed, as the single entry "xdma" matches driver name.

---
 drivers/dma/xilinx/xdma.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/dma/xilinx/xdma.c +0 -6
index 462109c61653..74e587adce13 100644
@@ -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,
 };
Signature · 1 line
2.34.1