summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mv_cesa.c
diff options
context:
space:
mode:
authorSachin Kamat2013-09-30 05:19:42 +0200
committerHerbert Xu2013-10-07 08:17:08 +0200
commit165c70f07fee46abcbdbb885f8e90388dbe7ce60 (patch)
tree85bb04c193fbc80d54396d06e2399374288e4718 /drivers/crypto/mv_cesa.c
parentcrypto: sahara - Remove redundant of_match_ptr (diff)
downloadkernel-qcow2-linux-165c70f07fee46abcbdbb885f8e90388dbe7ce60.tar.gz
kernel-qcow2-linux-165c70f07fee46abcbdbb885f8e90388dbe7ce60.tar.xz
kernel-qcow2-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/mv_cesa.c')
-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");