arm: perf: use builtin_platform_driver
authorGeliang Tang <geliangtang@gmail.com>
Wed, 23 Nov 2016 14:39:52 +0000 (22:39 +0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Feb 2017 18:46:42 +0000 (18:46 +0000)
commitb128cb55f066caeb9859b99795d78e9213a58d2a
treefcd0f77e744b0debdf8aa093fccfa1aea99cb509
parent82bcd087029f6056506ea929f11af02622230901
arm: perf: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v6.c
arch/arm/kernel/perf_event_v7.c
arch/arm/kernel/perf_event_xscale.c