提交 165c70f0 编写于 作者: S Sachin Kamat 提交者: Herbert Xu

crypto: mv_cesa - Remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 1b0b2605
...@@ -1187,7 +1187,7 @@ static struct platform_driver marvell_crypto = { ...@@ -1187,7 +1187,7 @@ static struct platform_driver marvell_crypto = {
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.name = "mv_crypto", .name = "mv_crypto",
.of_match_table = of_match_ptr(mv_cesa_of_match_table), .of_match_table = mv_cesa_of_match_table,
}, },
}; };
MODULE_ALIAS("platform:mv_crypto"); MODULE_ALIAS("platform:mv_crypto");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册