diff options
| author | 2022-09-16 23:47:08 +0800 | |
|---|---|---|
| committer | 2022-09-19 06:16:39 -0700 | |
| commit | 7f62cf781e6567d59c8935dc8c6068ce2bb904b7 (patch) | |
| tree | d3dc551c0c5af2e61f5b5a49c399553c81118988 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | hwmon: (aquacomputer_d5next) Fix Quadro fan speed offsets (diff) | |
| download | linux-dev-7f62cf781e6567d59c8935dc8c6068ce2bb904b7.tar.xz linux-dev-7f62cf781e6567d59c8935dc8c6068ce2bb904b7.zip | |
hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
In gsc_hwmon_get_devtree_pdata(), we should call of_node_get() before
the of_find_compatible_node() which will automatically call
of_node_put() for the 'from' argument.
Fixes: 3bce5377ef66 ("hwmon: Add Gateworks System Controller support")
Signed-off-by: Liang He <windhl@126.com>
Co-developed-by: Mengda Chen <chenmengda2009@163.com>
Signed-off-by: Mengda Chen <chenmengda2009@163.com>
Link: https://lore.kernel.org/r/20220916154708.3084515-1-chenmengda2009@163.com
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
