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: devm_kzalloc() -> devm_kcalloc()
[linux-2.6-microblaze.git]
/
drivers
/
regulator
/
tps80031-regulator.c
diff --git
a/drivers/regulator/tps80031-regulator.c
b/drivers/regulator/tps80031-regulator.c
index
d4cc60a
..
1001147
100644
(file)
--- a/
drivers/regulator/tps80031-regulator.c
+++ b/
drivers/regulator/tps80031-regulator.c
@@
-691,8
+691,8
@@
static int tps80031_regulator_probe(struct platform_device *pdev)
return -EINVAL;
}
- pmic = devm_k
z
alloc(&pdev->dev,
- TPS80031_REGULATOR_MAX
*
sizeof(*pmic), GFP_KERNEL);
+ pmic = devm_k
c
alloc(&pdev->dev,
+ TPS80031_REGULATOR_MAX
,
sizeof(*pmic), GFP_KERNEL);
if (!pmic)
return -ENOMEM;