commit | 7fc775ffebb93f2d556b4cb96345844885e16f60 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Sep 26 09:17:20 2021 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Oct 05 16:40:22 2021 +0200 |
tree | f7bdb0c34b078a7630a127ab6059c4c2744b4bd0 | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 [diff] |
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>