summaryrefslogtreecommitdiff
path: root/drivers/counter
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-09-18 00:33:25 +0200
committerPavel Machek <pavel@ucw.cz>2020-09-26 21:56:41 +0200
commit19d4deb7b24024fa01c6dcaa781b9e508d4f09c0 (patch)
tree26c30ae8bae1d45bf6dd1c702bcea9933126ccdf /drivers/counter
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 <marek.behun@nic.cz> Cc: Simon Guinot <simon.guinot@sequanux.org> Cc: Simon Guinot <sguinot@lacie.com> Cc: Vincent Donnefort <vdonnefort@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions