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
/
hwmon
/
coretemp.c
diff --git
a/drivers/hwmon/coretemp.c
b/drivers/hwmon/coretemp.c
index
72c338e
..
10645c9
100644
(file)
--- a/
drivers/hwmon/coretemp.c
+++ b/
drivers/hwmon/coretemp.c
@@
-742,7
+742,7
@@
static int __init coretemp_init(void)
return -ENODEV;
max_packages = topology_max_packages();
- pkg_devices = k
zalloc(max_packages *
sizeof(struct platform_device *),
+ pkg_devices = k
calloc(max_packages,
sizeof(struct platform_device *),
GFP_KERNEL);
if (!pkg_devices)
return -ENOMEM;