All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next 1/1] dmaengine: xilinx: xdma: Remove id table
@ 2023-02-22  4:18 Lizhi Hou
  0 siblings, 0 replies; only message in thread
From: Lizhi Hou @ 2023-02-22  4:18 UTC (permalink / raw)
  To: vkoul, geert; +Cc: Lizhi Hou, dmaengine, linux-kernel, max.zhen, sonal.santan

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(-)

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-22  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22  4:18 [PATCH -next 1/1] dmaengine: xilinx: xdma: Remove id table Lizhi Hou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.