diff options
| author | Russell King <[email protected]> | 2015-10-03 19:13:17 +0100 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-10-09 11:20:53 -0500 |
| commit | 19fdb80091a8f3c09b7293bb299f6eb46c6ae070 (patch) | |
| tree | e440abd82697fea24a01d3fbb541b6e6418aea66 /scripts/gdb/linux/clk.py | |
| parent | 4a2eae2359bc79fe7d9e7463ed69ad17034fa00f (diff) | |
PCI: mvebu: Use devm_kcalloc() to allocate an array
Rather than using devm_kzalloc() and multiplying the element and number,
use the provided devm_kcalloc() helper for this.
Tested-by: Willy Tarreau <[email protected]> (Iomega iConnect Kirkwood, MiraBox Armada 370)
Tested-by: Andrew Lunn <[email protected]> (D-Link DIR664 Kirkwood)
Tested-by: Thomas Petazzoni <[email protected]> (Armada XP GP)
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Thomas Petazzoni <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions