diff options
author | Marek BehĂșn <[email protected]> | 2020-09-18 00:33:28 +0200 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2020-09-26 21:56:41 +0200 |
commit | 528c9515b28d48691f8ef545595be77857e211dc (patch) | |
tree | 6ae8cbc75a418aacb2165b45dd331220ecec6169 /scripts/bpf_helpers_doc.py | |
parent | f72deb717d5b80b3b90ebcb4e4b73b041e2eb465 (diff) |
leds: ns2: use devres API for getting GPIO descriptors
This drivers leaks GPIO descriptors on driver removal. Use devres API
function devm_gpiod_get_from_of_node instead of gpiod_get_from_of_node
to avoid this.
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]>
Not-for-stable
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions