summaryrefslogtreecommitdiff
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-09-26 10:17:20 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-05 17:40:22 +0300
commit7fc775ffebb93f2d556b4cb96345844885e16f60 (patch)
treef7bdb0c34b078a7630a127ab6059c4c2744b4bd0 /fs/fcntl.c
parent9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff)
downloadlinux-7fc775ffebb93f2d556b4cb96345844885e16f60.tar.xz
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 <christophe.jaillet@wanadoo.fr> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions