diff options
| author | Eduardo Valentin <[email protected]> | 2016-11-08 05:09:26 +0000 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2016-11-23 02:06:12 +0000 |
| commit | b819dc9ef064430118634160330eaa93708aad28 (patch) | |
| tree | 950b989f8f92b5899e0878d5bb72fa52801dee14 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | thermal: core: use kzalloc(sizeof(*ptr),...) (diff) | |
| download | kernel-b819dc9ef064430118634160330eaa93708aad28.tar.gz kernel-b819dc9ef064430118634160330eaa93708aad28.zip | |
thermal: sysfs: use kcalloc() instead of kzalloc()
Simplify size computation by using kcalloc() for
allocating memory for arrays.
Cc: Zhang Rui <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
