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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux