projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f539bc
)
crypto: dcp - Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 29 May 2013 11:39:09 +0000
(17:09 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:43:07 +0000
(16:43 +0800)
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>
Tested-by: Tobias Rauter <tobiasrauter@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/dcp.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/dcp.c
b/drivers/crypto/dcp.c
index eea194c3452717326b8632bd8a3e841cd6758838..83eaefcefb64c6c02e6590b830a47f4a25e39d5c 100644
(file)
--- 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),