diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-08 08:09:26 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 05:06:12 +0300 |
commit | b819dc9ef064430118634160330eaa93708aad28 (patch) | |
tree | 950b989f8f92b5899e0878d5bb72fa52801dee14 /certs | |
parent | 95e3ed1513494aa2d0aaba7a99fb7aa8b51dcfc8 (diff) | |
download | linux-b819dc9ef064430118634160330eaa93708aad28.tar.xz |
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 'certs')
0 files changed, 0 insertions, 0 deletions