Commit 6b2be1dd authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Herbert Xu

crypto: picoxcell - Remove platform device ID table

This driver is only used in the picoxcell platform and this is DT-only.

So only a OF device ID table is needed and there's no need to have a
platform device ID table. This patch removes the unneeded table.
Suggested-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Acked-by: default avatarJamie Iles <jamie@jamieiles.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4f44d86d
...@@ -1803,12 +1803,6 @@ static int spacc_remove(struct platform_device *pdev) ...@@ -1803,12 +1803,6 @@ static int spacc_remove(struct platform_device *pdev)
return 0; return 0;
} }
static const struct platform_device_id spacc_id_table[] = {
{ "picochip,spacc-ipsec", },
{ "picochip,spacc-l2", },
{ }
};
static struct platform_driver spacc_driver = { static struct platform_driver spacc_driver = {
.probe = spacc_probe, .probe = spacc_probe,
.remove = spacc_remove, .remove = spacc_remove,
...@@ -1819,7 +1813,6 @@ static struct platform_driver spacc_driver = { ...@@ -1819,7 +1813,6 @@ static struct platform_driver spacc_driver = {
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
.of_match_table = of_match_ptr(spacc_of_id_table), .of_match_table = of_match_ptr(spacc_of_id_table),
}, },
.id_table = spacc_id_table,
}; };
module_platform_driver(spacc_driver); module_platform_driver(spacc_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment