mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mfd: don't use memzero
For it doesn't exist on i386. Cc: Ian Molton <[email protected]> Cc: Dmitry Baryshkov <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3d6f4a20cc
commit
c82dd5321c
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ static int mfd_add_device(struct platform_device *parent,
|
|||
if (ret)
|
||||
goto fail_device;
|
||||
|
||||
memzero(res, sizeof(res));
|
||||
memset(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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue