projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a710f76
)
crypto: ux500 - Cocci spatch "resource_size.spatch"
author
Thomas Meyer
<thomas@m3y3r.de>
Wed, 22 May 2013 19:38:40 +0000
(21:38 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 28 May 2013 09:14:15 +0000
(17:14 +0800)
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/cryp/cryp_core.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/ux500/cryp/cryp_core.c
b/drivers/crypto/ux500/cryp/cryp_core.c
index
32f4806
..
3f1f982
100644
(file)
--- a/
drivers/crypto/ux500/cryp/cryp_core.c
+++ b/
drivers/crypto/ux500/cryp/cryp_core.c
@@
-1600,7
+1600,7
@@
static int ux500_cryp_remove(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (res)
- release_mem_region(res->start, res
->end - res->start + 1
);
+ release_mem_region(res->start, res
ource_size(res)
);
kfree(device_data);