diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-11-20 11:05:30 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-11-29 22:33:32 +0100 |
commit | 3be466d681a92300908c51888f75cf298e040558 (patch) | |
tree | 1886984b0a83f39c528938872ed750fbc940c62a /drivers/cpufreq/mediatek-cpufreq.c | |
parent | 60935c17e26ac2cfc4095bed02a6b4135c3e6d4a (diff) | |
download | lwn-3be466d681a92300908c51888f75cf298e040558.tar.gz lwn-3be466d681a92300908c51888f75cf298e040558.zip |
cpufreq: powernv: add of_node_put()
The of_find_node_by_path() returns a node pointer with refcount
incremented,but there is the lack of use of the of_node_put() when
done.Add the missing of_node_put() to release the refcount.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/mediatek-cpufreq.c')
0 files changed, 0 insertions, 0 deletions