diff options
author | 2016-11-07 21:09:26 -0800 | |
---|---|---|
committer | 2016-11-23 10:06:12 +0800 | |
commit | b819dc9ef064430118634160330eaa93708aad28 (patch) | |
tree | 950b989f8f92b5899e0878d5bb72fa52801dee14 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: core: use kzalloc(sizeof(*ptr),...) (diff) | |
download | wireguard-linux-b819dc9ef064430118634160330eaa93708aad28.tar.xz wireguard-linux-b819dc9ef064430118634160330eaa93708aad28.zip |
thermal: sysfs: use kcalloc() instead of kzalloc()
Simplify size computation by using kcalloc() for
allocating memory for arrays.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions