projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6e0b2
)
crypto: crypto4xx - Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 07:22:28 +0000
(12:52 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 30 Dec 2013 12:19:15 +0000
(20:19 +0800)
Driver core sets it to NULL upon probe failure or release.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/amcc/crypto4xx_core.c
b/drivers/crypto/amcc/crypto4xx_core.c
index
efaf630
..
37f9cc9
100644
(file)
--- a/
drivers/crypto/amcc/crypto4xx_core.c
+++ b/
drivers/crypto/amcc/crypto4xx_core.c
@@
-724,7
+724,6
@@
static void crypto4xx_stop_all(struct crypto4xx_core_device *core_dev)
crypto4xx_destroy_pdr(core_dev->dev);
crypto4xx_destroy_gdr(core_dev->dev);
crypto4xx_destroy_sdr(core_dev->dev);
- dev_set_drvdata(core_dev->device, NULL);
iounmap(core_dev->dev->ce_base);
kfree(core_dev->dev);
kfree(core_dev);