* [PATCH 1/2] crypto: sahara: Remove redundant of_match_ptr
@ 2013-09-30 3:19 Sachin Kamat
2013-09-30 3:19 ` [PATCH 2/2] crypto: mv_cesa: " Sachin Kamat
2013-10-07 7:11 ` [PATCH 1/2] crypto: sahara: " Herbert Xu
0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:19 UTC (permalink / raw)
To: linux-crypto; +Cc: herbert, sachin.kamat, Javier Martin
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>
---
drivers/crypto/sahara.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c
index d7bb8ba..785a9de 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,
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] crypto: mv_cesa: Remove redundant of_match_ptr
2013-09-30 3:19 [PATCH 1/2] crypto: sahara: Remove redundant of_match_ptr Sachin Kamat
@ 2013-09-30 3:19 ` Sachin Kamat
2013-10-07 7:11 ` [PATCH 1/2] crypto: sahara: " Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:19 UTC (permalink / raw)
To: linux-crypto; +Cc: herbert, sachin.kamat, Sebastian Andrzej Siewior
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>
---
drivers/crypto/mv_cesa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index f9b9560..2662d1b 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");
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/2] crypto: sahara: Remove redundant of_match_ptr
2013-09-30 3:19 [PATCH 1/2] crypto: sahara: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 3:19 ` [PATCH 2/2] crypto: mv_cesa: " Sachin Kamat
@ 2013-10-07 7:11 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2013-10-07 7:11 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-crypto, Javier Martin
On Mon, Sep 30, 2013 at 08:49:41AM +0530, Sachin Kamat wrote:
> 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>
Both patches applied.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-07 7:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 3:19 [PATCH 1/2] crypto: sahara: Remove redundant of_match_ptr Sachin Kamat
2013-09-30 3:19 ` [PATCH 2/2] crypto: mv_cesa: " Sachin Kamat
2013-10-07 7:11 ` [PATCH 1/2] crypto: sahara: " Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).