Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Fabio Estevam and committed by
Herbert Xu
c4dc99e1 303fd3e1

-7
-7
drivers/crypto/sahara.c
··· 1350 1350 crypto_unregister_ahash(&sha_v4_algs[i]); 1351 1351 } 1352 1352 1353 - static const struct platform_device_id sahara_platform_ids[] = { 1354 - { .name = "sahara-imx27" }, 1355 - { /* sentinel */ } 1356 - }; 1357 - MODULE_DEVICE_TABLE(platform, sahara_platform_ids); 1358 - 1359 1353 static const struct of_device_id sahara_dt_ids[] = { 1360 1354 { .compatible = "fsl,imx53-sahara" }, 1361 1355 { .compatible = "fsl,imx27-sahara" }, ··· 1534 1540 .name = SAHARA_NAME, 1535 1541 .of_match_table = sahara_dt_ids, 1536 1542 }, 1537 - .id_table = sahara_platform_ids, 1538 1543 }; 1539 1544 1540 1545 module_platform_driver(sahara_driver);