Skip to contentSkip to conversation

crypto: sahara - Remove unused .id_table support

PATCH In review Fabio Estevam 2 participants 2 messages Dec 9, 2020 – Jan 2, 2021 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: sahara - Remove unused .id_table support

Since 5.10-rc1 i.MX is a devicetree-only platform and the existing .id_table support in this driver was only useful for old non-devicetree platforms.

Remove the unused .id_table support.

---
 drivers/crypto/sahara.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/crypto/sahara.c +0 -7
index 8b5be29cb4dc..457084b344c1 100644
@@ -1350,12 +1350,6 @@ static void sahara_unregister_algs(struct sahara_dev *dev)
 			crypto_unregister_ahash(&sha_v4_algs[i]);
 }
 
-static const struct platform_device_id sahara_platform_ids[] = {
-	{ .name = "sahara-imx27" },
-	{ /* sentinel */ }
-};
-MODULE_DEVICE_TABLE(platform, sahara_platform_ids);
-
 static const struct of_device_id sahara_dt_ids[] = {
 	{ .compatible = "fsl,imx53-sahara" },
 	{ .compatible = "fsl,imx27-sahara" },
@@ -1540,7 +1534,6 @@ static struct platform_driver sahara_driver = {
 		.name	= SAHARA_NAME,
 		.of_match_table = sahara_dt_ids,
 	},
-	.id_table = sahara_platform_ids,
 };
 
 module_platform_driver(sahara_driver);
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 10 lines · Fabio Estevam

Since 5.10-rc1 i.MX is a devicetree-only platform and the existing .id_table support in this driver was only useful for old non-devicetree platforms.

Remove the unused .id_table support.

---
 drivers/crypto/sahara.c | 7 -------
 1 file changed, 7 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt