提交 1b0b2605 编写于 作者: S Sachin Kamat 提交者: Herbert Xu

crypto: sahara - 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: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 6bf37e5a
...@@ -1058,7 +1058,7 @@ static struct platform_driver sahara_driver = { ...@@ -1058,7 +1058,7 @@ static struct platform_driver sahara_driver = {
.driver = { .driver = {
.name = SAHARA_NAME, .name = SAHARA_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(sahara_dt_ids), .of_match_table = sahara_dt_ids,
}, },
.id_table = sahara_platform_ids, .id_table = sahara_platform_ids,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册