drivers/perf: arm_pmu_acpi: Release memory obtained by kasprintf
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 20 Sep 2017 06:56:38 +0000 (12:26 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 22 Sep 2017 14:11:46 +0000 (15:11 +0100)
commita88dc7ba15cd4f4ef5102b5185f8fa7ff86e54e1
treea55b62f5d3d26f38090ee05705e59a5de1ccbf8d
parent3d6a7b99e3fa29b92d6288487e057e0a596bd2b0
drivers/perf: arm_pmu_acpi: Release memory obtained by kasprintf

Free memory region, if arm_pmu_acpi_probe is not successful.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/perf/arm_pmu_acpi.c