diff options
| author | Christophe JAILLET <[email protected]> | 2021-09-26 07:17:20 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-10-05 14:40:22 +0000 |
| commit | 7fc775ffebb93f2d556b4cb96345844885e16f60 (patch) | |
| tree | f7bdb0c34b078a7630a127ab6059c4c2744b4bd0 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | Linux 5.15-rc4 (diff) | |
| download | kernel-7fc775ffebb93f2d556b4cb96345844885e16f60.tar.gz kernel-7fc775ffebb93f2d556b4cb96345844885e16f60.zip | |
thermal: intel_powerclamp: Use bitmap_zalloc/bitmap_free when applicable
'cpu_clamping_mask' is a bitmap. So use 'bitmap_zalloc()' and
'bitmap_free()' to simplify code, improve the semantic of the code and
avoid some open-coded arithmetic in allocator arguments.
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
