[Letux-kernel] [PATCH] omapdrm: dss: drop unneeded of_node_put() on ref passed to of_get_next_parent()

Matthijs van Duin matthijsvanduin at gmail.com
Sat Aug 27 13:53:58 CEST 2016


To clarify, this patch effectively reverts

commit 2ab9f5879162499e1c4e48613287e3f59e593c4f
gpu: drm: omapdrm: dss-of: add missing of_node_put after calling
of_parse_phandle

except it leaves behind unnecessary verbiage that this commit
introduced. And to be clear, that commit *should* indeed be reverted,
although preferably in its entirety obviously.

of_get_next_parent already drops a ref on its argument, so of_node_put
was never "missing" here.

Matthijs


More information about the Letux-kernel mailing list