projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d6f4a2
)
mfd: don't use memzero
author
Andrew Morton
<akpm@linux-foundation.org>
Fri, 25 Jul 2008 08:45:22 +0000
(
01:45
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:26 +0000
(10:53 -0700)
For it doesn't exist on i386.
Cc: Ian Molton <spyro@f2s.com>
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/mfd-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/mfd-core.c
b/drivers/mfd/mfd-core.c
index
d7d88ce
..
0454be4
100644
(file)
--- a/
drivers/mfd/mfd-core.c
+++ b/
drivers/mfd/mfd-core.c
@@
-36,7
+36,7
@@
static int mfd_add_device(struct platform_device *parent,
if (ret)
goto fail_device;
- mem
zero(res
, sizeof(res));
+ mem
set(res, 0
, sizeof(res));
for (r = 0; r < cell->num_resources; r++) {
res[r].name = cell->resources[r].name;
res[r].flags = cell->resources[r].flags;