aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2018-03-23 16:34:51 +0000
committerLinus Walleij <[email protected]>2018-03-27 13:34:13 +0000
commitace56935ff48879239d79129c7882ea2ff1b4804 (patch)
tree76ef74a6bf7640a4a2cacff581aa7fe49070ee8f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentgpiolib: Extract mask allocation into subroutine (diff)
downloadkernel-ace56935ff48879239d79129c7882ea2ff1b4804.tar.gz
kernel-ace56935ff48879239d79129c7882ea2ff1b4804.zip
gpiolib: Change bitmap allocation to kmalloc_array
We don't need to clear out these bits when we set them immediately after. Use kmalloc_array() to skip clearing the bits. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Tested-by: Timur Tabi <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions