commit | 2c67756254349d2b4a1af92c846e32f7e15fae89 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Fri Sep 18 00:32:57 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Sat Sep 26 21:56:39 2020 +0200 |
tree | 6c2344683d2a4d93ed9c9d8fee7708858a2a6f4b | |
parent | 99a013c840a05083fd82d220685af7579238bfa8 [diff] |
leds: various: fix OF node leaks Fix OF node leaks by calling of_node_put in for_each_available_child_of_node when the cycle breaks or returns. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Cc: Nikita Travkin <nikitos.tr@gmail.com> Cc: Milo Kim <milo.kim@ti.com> Cc: Dan Murphy <dmurphy@ti.com> Signed-off-by: Pavel Machek <pavel@ucw.cz> Not-for-stable: untested, theoretical, insignificant leaks