Files
linux/drivers
Miaoqian Lin c8994b30d7 Input: sparcspkr - fix refcount leak in bbc_beep_probe
of_find_node_by_path() calls of_find_node_opts_by_path(),
which returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 9c1a5077fd ("input: Rewrite sparcspkr device probing.")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220516081018.42728-1-linmq006@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2022-05-16 21:10:11 -07:00
..
2022-02-18 19:36:36 +01:00
2022-02-24 16:53:24 -08:00
2022-03-10 10:02:19 +01:00
2022-01-22 08:33:37 +02:00
2022-02-02 10:33:04 +05:30
2022-01-22 08:33:37 +02:00
2021-12-29 10:54:50 +01:00
2022-01-22 08:33:37 +02:00