summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 05:19:42 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2013-10-07 08:17:08 +0200
commit165c70f07fee46abcbdbb885f8e90388dbe7ce60 (patch)
tree85bb04c193fbc80d54396d06e2399374288e4718 /drivers/crypto
parentcrypto: sahara - Remove redundant of_match_ptr (diff)
downloadlinux-165c70f07fee46abcbdbb885f8e90388dbe7ce60.tar.xz
linux-165c70f07fee46abcbdbb885f8e90388dbe7ce60.zip
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: Sachin Kamat <sachin.kamat@linaro.org> Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/mv_cesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index f9b9560f64b4..2662d1b04c2a 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -1187,7 +1187,7 @@ static struct platform_driver marvell_crypto = {
.driver = {
.owner = THIS_MODULE,
.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");