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

From: Lizhi Hou
Date: Tue Feb 21 2023 - 23:19:58 EST


The xdma_id_table is not needed, as the single entry "xdma" matches
driver name.
Signed-off-by: Lizhi Hou <lizhi.hou@xxxxxxx>
---
drivers/dma/xilinx/xdma.c | 6 ------
1 file changed, 6 deletions(-)

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,
};
--
2.34.1