projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git]
/
arch
/
mips
/
txx9
/
rbtx4939
/
setup.c
diff --git
a/arch/mips/txx9/rbtx4939/setup.c
b/arch/mips/txx9/rbtx4939/setup.c
index
fd26fad
..
ef29a9c
100644
(file)
--- a/
arch/mips/txx9/rbtx4939/setup.c
+++ b/
arch/mips/txx9/rbtx4939/setup.c
@@
-219,7
+219,7
@@
static int __init rbtx4939_led_probe(struct platform_device *pdev)
"nand-disk",
};
- leds_data = k
zalloc(sizeof(*leds_data) * RBTX4939_MAX_7SEGLEDS
,
+ leds_data = k
calloc(RBTX4939_MAX_7SEGLEDS, sizeof(*leds_data)
,
GFP_KERNEL);
if (!leds_data)
return -ENOMEM;