Commit 851c030
Al Stone
power: supply: core: Simplify hwmon memory allocation
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2071846
Tested: This is one of a series of patch sets to enable Arm SystemReady IR
support in the kernel for NXP i.MX8 platforms. This set updates the
power subsystem. This set has been tested via simple boot tests and
the CI loop.
commit a942f91
Author: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Date: Sat Feb 5 17:40:57 2022 +0100
power: supply: core: Simplify hwmon memory allocation
Use devm_bitmap_zalloc() instead of hand writing it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
(cherry picked from commit a942f91)
Signed-off-by: Al Stone <ahs3@redhat.com>1 parent 6e5f094 commit 851c030
1 file changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | 327 | | |
333 | 328 | | |
334 | 329 | | |
| |||
349 | 344 | | |
350 | 345 | | |
351 | 346 | | |
352 | | - | |
353 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
354 | 350 | | |
355 | 351 | | |
356 | 352 | | |
357 | 353 | | |
358 | 354 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | 355 | | |
365 | 356 | | |
366 | 357 | | |
| |||
0 commit comments