summaryrefslogtreecommitdiff
path: root/drivers/devfreq/devfreq_simple_dev.c
diff options
context:
space:
mode:
authorSaravana Kannan <skannan@codeaurora.org>2015-11-10 16:13:50 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:04:41 -0700
commit4b5b233f041f89e1cc82446288eaed28d66c1679 (patch)
treedf2fc9f9e6648d461b6626246536c44d22bec3bf /drivers/devfreq/devfreq_simple_dev.c
parente0bb9942b488e20ce315ab5d536aa1085f75be99 (diff)
PM / devfreq: governor_cpufreq: Fix incorrect refcounting of OF node
The of_node_put(of_child) call was put in to balance the of_node_get() that's done inside for_each_child_of_node(). But that's not the right thing to do because for_each_child_of_node() already takes care of doing of_node_put(). So, delete the unnecessary of_node_put(of_child) call. We still need the of_node_put(of_par) though. Change-Id: Iff7744839cfcf01d5a472449f74859e9030b7e16 Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/devfreq_simple_dev.c')
0 files changed, 0 insertions, 0 deletions