diff options
| author | 2022-06-16 19:40:24 +0800 | |
|---|---|---|
| committer | 2022-07-13 08:38:20 -0700 | |
| commit | b674bcb13f418e0580878c21afbe14c4bdfa3138 (patch) | |
| tree | e4e7c458dda8a4e88b88d4f22354ec429d85cb0c /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | hwmon: (dell-smm) Add Dell G5 5590 to DMI table (diff) | |
| download | linux-dev-b674bcb13f418e0580878c21afbe14c4bdfa3138.tar.xz linux-dev-b674bcb13f418e0580878c21afbe14c4bdfa3138.zip | |
hwmon: (gsc-hwmon) Add missing of_node_put()
In gsc_hwmon_get_devtree_pdata(), of_find_compatible_node() will return
a node pointer with refcount incremented. We should use of_node_put() in
fail path or when it is not used anymore.
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220616114024.3985770-1-windhl@126.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
