]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
powerpc/via-pmu: fix OF node leak in Keylargo init
authorPhil Carmody <pc+lkml@asdf.org>
Tue, 16 Sep 2014 22:00:54 +0000 (01:00 +0300)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 17 Mar 2015 00:56:51 +0000 (11:56 +1100)
commite702240e8364952e260829c8700fbc870aa4b053
treebf26df8c5883058515bff0c4c6bb13d48208a485
parentffa3eb010dd8edc696cd958ba684d8a6d1cf3dff
powerpc/via-pmu: fix OF node leak in Keylargo init

If we of_find_node_by_name() then we must of_node_put() too.

Signed-off-by: Phil Carmody <pc+lkml@asdf.org>
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/via-pmu.c