aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorEduardo Valentin <[email protected]>2016-11-08 05:09:26 +0000
committerZhang Rui <[email protected]>2016-11-23 02:06:12 +0000
commitb819dc9ef064430118634160330eaa93708aad28 (patch)
tree950b989f8f92b5899e0878d5bb72fa52801dee14 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentthermal: core: use kzalloc(sizeof(*ptr),...) (diff)
downloadkernel-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