All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] crypto: dcp: Remove redundant platform_set_drvdata()
@ 2013-05-29 11:39 Sachin Kamat
  2013-05-29 11:39 ` [PATCH 2/4] crypto: dcp: Use devm_* APIs Sachin Kamat
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sachin Kamat @ 2013-05-29 11:39 UTC (permalink / raw)
  To: linux-crypto; +Cc: herbert, tobias.rauter, sachin.kamat

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Tobias Rauter <tobias.rauter@gmail.com>
---
This series compile tested against linux-next (20130529).
---
 drivers/crypto/dcp.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/dcp.c b/drivers/crypto/dcp.c
index eea194c..83eaefc 100644
--- a/drivers/crypto/dcp.c
+++ b/drivers/crypto/dcp.c
@@ -876,7 +876,6 @@ static int dcp_remove(struct platform_device *pdev)
 	struct dcp_dev *dev;
 	int j;
 	dev = platform_get_drvdata(pdev);
-	platform_set_drvdata(pdev, NULL);
 
 	dma_free_coherent(&pdev->dev,
 			DCP_MAX_PKG * sizeof(struct dcp_hw_packet),
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-05  8:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 11:39 [PATCH 1/4] crypto: dcp: Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-29 11:39 ` [PATCH 2/4] crypto: dcp: Use devm_* APIs Sachin Kamat
2013-05-29 11:39 ` [PATCH 3/4] crypto: dcp: Use NULL instead of 0 Sachin Kamat
2013-05-29 11:39 ` [PATCH 4/4] crypto: dcp: Staticize local symbols Sachin Kamat
2013-06-04 19:21 ` [PATCH 1/4] crypto: dcp: Remove redundant platform_set_drvdata() Tobias Rauter
2013-06-05  3:22   ` Sachin Kamat
2013-06-05  8:54     ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.