commit | 0644065c00622c8f84b3990e8100491f1931aa52 | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <edubezval@gmail.com> | Mon May 30 15:07:40 2016 -0700 |
committer | Eduardo Valentin <edubezval@gmail.com> | Thu Oct 27 21:41:14 2016 -0700 |
tree | 1e21f8f0e70d15f50f157d8943b8ad65e8bb888d | |
parent | bebfb7147113dc545be9a523409583957f11514f [diff] |
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>