aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2020-09-18 00:33:25 +0200
committerPavel Machek <[email protected]>2020-09-26 21:56:41 +0200
commit19d4deb7b24024fa01c6dcaa781b9e508d4f09c0 (patch)
tree26c30ae8bae1d45bf6dd1c702bcea9933126ccdf /scripts/bpf_helpers_doc.py
parent40f97281ff0540d43d3d0343d74a8e96573ed227 (diff)
leds: ns2: alloc simple array instead of struct ns2_led_priv
Since .remove method is not needed now that we use devres, there is no need to remember the number of LEDs in struct ns2_led_priv. Alloc simple array of ns2_led_data structs. Signed-off-by: Marek BehĂșn <[email protected]> Cc: Simon Guinot <[email protected]> Cc: Simon Guinot <[email protected]> Cc: Vincent Donnefort <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: Linus Walleij <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions