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)
committerWill Deacon <will.deacon@arm.com>
Fri, 12 Aug 2011 14:40:21 +0000 (15:40 +0100)
commit7fdd3c49629e8aab48dbd1b2f800854b0f93cba0
tree19882a623a9438cc8e2ce04cc98c865494a75f66
parent49bef8331afefa4dd75f7124c50bde47168f5492
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>
arch/arm/include/asm/pmu.h
arch/arm/kernel/pmu.c