[PATCH 2/2] soc: imx: gpcv2: Remove unused .id_table

Fabio Estevam festevam at gmail.com
Mon Jan 18 07:03:44 EST 2021


i.MX has been converted to a dt-only platform.

Remove the unused .id_table.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 drivers/soc/imx/gpcv2.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c
index db7e7fc321b1..3cf0d1f9f115 100644
--- a/drivers/soc/imx/gpcv2.c
+++ b/drivers/soc/imx/gpcv2.c
@@ -528,18 +528,12 @@ static int imx_pgc_domain_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct platform_device_id imx_pgc_domain_id[] = {
-	{ "imx-pgc-domain", },
-	{ },
-};
-
 static struct platform_driver imx_pgc_domain_driver = {
 	.driver = {
 		.name = "imx-pgc",
 	},
 	.probe    = imx_pgc_domain_probe,
 	.remove   = imx_pgc_domain_remove,
-	.id_table = imx_pgc_domain_id,
 };
 builtin_platform_driver(imx_pgc_domain_driver)
 
-- 
2.17.1




More information about the linux-arm-kernel mailing list