summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2021-03-26 16:02:42 +0000
committerWill Deacon <will@kernel.org>2021-03-30 11:41:50 +0100
commite20ac6c54a93335b56a6d057aa5da27183f573fa (patch)
treec747877c06f10e1910dc157670517bb37968ea59 /certs
parente338cb6bef254821a8c095018fd27254d74bfd6a (diff)
downloadlinux-e20ac6c54a93335b56a6d057aa5da27183f573fa.tar.bz2
perf/arm_pmu_platform: Clean up with dev_printk
Nearly all of the messages we can log from the platform device code relate to the specific PMU device and the properties we're parsing from its DT node. In some cases we use %pOF to point at where something was wrong, but even that is inconsistent. Let's convert these logs to the appropriate dev_printk variants, so that every issue specific to the device and/or its DT description is clearly and instantly attributable, particularly if there is more than one PMU node present in the DT. The local refactoring in a couple of functions invites some extra cleanup in the process - the init_fn matching can be streamlined, and the PMU registration failure message moved to the appropriate place and log level. CC: Tian Tao <tiantao6@hisilicon.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/10a4aacdf071d0c03d061c408a5899e5b32cc0a6.1616774562.git.robin.murphy@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions