Messages in this thread Patch in this message | | | From | Jon Hunter <> | Subject | [PATCH 5/6] soc/tegra: pmc: Add missing of_node_put | Date | Tue, 28 Jun 2016 11:38:27 +0100 |
| |
Add missing of_node_put() in PMC early initialisation function.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com> --- drivers/soc/tegra/pmc.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index 483d54623ec5..e62acaef140a 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -1572,6 +1572,8 @@ static int __init tegra_pmc_early_init(void) value &= ~PMC_CNTRL_INTR_POLARITY; tegra_pmc_writel(value, PMC_CNTRL); + + of_node_put(np); } return 0; -- 2.1.4
| |