diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-09-26 09:17:20 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-05 16:40:22 +0200 |
commit | 7fc775ffebb93f2d556b4cb96345844885e16f60 (patch) | |
tree | f7bdb0c34b078a7630a127ab6059c4c2744b4bd0 /drivers/input/touchscreen.c | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) | |
download | linux-7fc775ffebb93f2d556b4cb96345844885e16f60.tar.bz2 |
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 'drivers/input/touchscreen.c')
0 files changed, 0 insertions, 0 deletions