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>
Sat, 17 Sep 2011 13:14:26 +0000 (09:14 -0400)
commit30f2129fa6af7ddc2c5373ca8fb131914b2f7d56
tree83c47879e528ca7e4f893a6d218b1ead53f06853
parenta2a57eac168d1d0df2f20e81c14738b0ad939e00
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