aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorVaishali Thakkar <[email protected]>2015-11-15 04:04:23 +0000
committerLinus Walleij <[email protected]>2015-11-17 14:01:37 +0000
commit0563df2ce72b5d21217223e73f56ecfcacffb639 (patch)
treee24f5ab033e2772599f206f48fa6a2126535d90c /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentpinctrl: remove redundant if conditional from Kconfig (diff)
downloadkernel-0563df2ce72b5d21217223e73f56ecfcacffb639.tar.gz
kernel-0563df2ce72b5d21217223e73f56ecfcacffb639.zip
pinctrl: imx1-core: add missing of_node_put
for_each_child_of_node performs an of_node_get on each iteration, so of_node_put is required on break out of the loop. This is done using Coccinelle. And semantic patch used for this is as follows: @@ expression root,e; local idexpression child; @@ for_each_child_of_node(root, child) { ... when != of_node_put(child) when != e = child ( return child; | + of_node_put(child); ? return ...; ) ... } Signed-off-by: Vaishali Thakkar <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions