ARM: perf: make name of arm_pmu_type consistent
authorMark Rutland <mark.rutland@arm.com>
Fri, 12 Aug 2011 09:42:48 +0000 (10:42 +0100)
committerJason Kridner <jdk@ti.com>
Thu, 15 Sep 2011 18:59:08 +0000 (14:59 -0400)
commitb72e6bee0513c4cc6a8bfe1ecc858e9d80353530
treec79b8b2a4ef827433e96ef41fa10fa48a2b3a0a9
parent1cd7d0ad04b8ec7a2f592fa1d3d0aa5116508bd4
ARM: perf: make name of arm_pmu_type consistent

Commit f12482c9 ("ARM: 6974/1: pmu: refactor reservation") changed
{release,reserve}_pmu to take an enum arm_pmu_type as a parameter, but
inconsistently named the parameter `type' or `device'. It would be nice
if these were consistent.

This patch makes use of enum arm_pmu_type consistent, always using
`type'. Related printks are updated, explicitly mentioning `type' also.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 7fdd3c49629e8aab48dbd1b2f800854b0f93cba0)
arch/arm/include/asm/pmu.h
arch/arm/kernel/pmu.c