From: Phil Carmody Date: Tue, 16 Sep 2014 22:00:53 +0000 (+0300) Subject: powerpc/via-pmu: fix error path in find_via_pmu() X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~70^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa3eb010dd8edc696cd958ba684d8a6d1cf3dff;p=pandora-kernel.git powerpc/via-pmu: fix error path in find_via_pmu() Cleanup was not in the reverse order from the set-up, so not all the gotos made sense, and also it was being avoided completely upon failure of init_pmu(). Signed-off-by: Phil Carmody Signed-off-by: Aaro Koskinen Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed