diff options
| author | Felix Gu <gu_0233@qq.com> | 2026-01-15 21:51:48 +0800 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-01-31 07:38:32 -0800 |
| commit | 2954ce672b7623478c1cfeb69e6a6e4042a3656e (patch) | |
| tree | 3a230aa5afa3327334c4888e34d99e0ec77350d3 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 13bf63b9314034d54b521d83ad6a04142695d1a0 (diff) | |
hwmon: (emc2305) Fix a resource leak in emc2305_of_parse_pwm_child
When calling of_parse_phandle_with_args(), the caller is responsible
to call of_node_put() to release the reference of device node.
In emc2305_of_parse_pwm_child, it does not release the reference,
causing a resource leak.
Signed-off-by: Felix Gu <gu_0233@qq.com>
Link: https://lore.kernel.org/r/tencent_738BA80BBF28F3440301EEE6F9E470165105@qq.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
