diff options
| author | Christophe JAILLET <[email protected]> | 2023-07-22 22:26:49 +0200 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-07-28 11:58:04 +0100 |
| commit | c8a039436525072af7e77f540d21f0d312fc7c38 (patch) | |
| tree | d247a47fe6578252aab31a99a4355ffe3fc6b1c7 /tools/perf/scripts/python/sctop.py | |
| parent | 3192f141240336dd6d7675ff374757006fed1916 (diff) | |
leds: ns2: Slightly simplify a memory allocation
Use devm_kcalloc() instead of devm_kzalloc()+array_size().
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/560b8f140c19a7da40f5e9540c3ef312969b0dc4.1690057595.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions