summaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm_pmu.c
diff options
context:
space:
mode:
authorTai Nguyen <ttnguyen@apm.com>2017-07-13 20:19:08 +0200
committerWill Deacon <will.deacon@arm.com>2017-08-08 15:33:13 +0200
commitc1be2ddb1e25ecf425d93a81dc64a650b9ff3107 (patch)
tree58c04ac26b86a51e9c1bef3476d94d404d341add /drivers/perf/arm_pmu.c
parentarm64: perf: Allow more than one cycle counter to be used (diff)
downloadlinux-c1be2ddb1e25ecf425d93a81dc64a650b9ff3107.tar.xz
linux-c1be2ddb1e25ecf425d93a81dc64a650b9ff3107.zip
perf: xgene: Remove unnecessary managed resources cleanup
Managed resources in the driver should be automatically cleaned up on driver detach. It's unnecessary to manually free/unmmap these resources. One of the manual cleanup causes static checkers to complain. The bug is reported by Dan Carpenter <dan.carpenter@oracle.com> in [1] [1] https://www.spinics.net/lists/arm-kernel/msg593012.html This patch gets rid of all the unnecessary manual cleanup and properly unregister all the registered PMU devices by the driver on driver detach. Signed-off-by: Tai Nguyen <ttnguyen@apm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf/arm_pmu.c')
0 files changed, 0 insertions, 0 deletions