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]
/
drivers
/
mfd
/
timberdale.c
diff --git
a/drivers/mfd/timberdale.c
b/drivers/mfd/timberdale.c
index
7c13d2e
..
05ecf82
100644
(file)
--- a/
drivers/mfd/timberdale.c
+++ b/
drivers/mfd/timberdale.c
@@
-707,8
+707,8
@@
static int timb_probe(struct pci_dev *dev,
goto err_config;
}
- msix_entries = k
zalloc(TIMBERDALE_NR_IRQS *
sizeof(*msix_entries),
- GFP_KERNEL);
+ msix_entries = k
calloc(TIMBERDALE_NR_IRQS,
sizeof(*msix_entries),
+
GFP_KERNEL);
if (!msix_entries)
goto err_config;