summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 05:19:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2013-10-07 08:17:07 +0200
commit1b0b2605a920e200d8adab29fc57ea9254a3f953 (patch)
treed6371ffc5512b23754872b11f022eaebd6d37378 /drivers/crypto
parentcrypto: crypto_memneq - add equality testing of memory regions w/o timing leaks (diff)
downloadlinux-1b0b2605a920e200d8adab29fc57ea9254a3f953.tar.xz
linux-1b0b2605a920e200d8adab29fc57ea9254a3f953.zip
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: Sachin Kamat <sachin.kamat@linaro.org> Cc: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/sahara.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c
index d7bb8bac36e9..785a9ded7bdf 100644
--- a/drivers/crypto/sahara.c
+++ b/drivers/crypto/sahara.c
@@ -1058,7 +1058,7 @@ static struct platform_driver sahara_driver = {
.driver = {
.name = SAHARA_NAME,
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(sahara_dt_ids),
+ .of_match_table = sahara_dt_ids,
},
.id_table = sahara_platform_ids,
};