summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-28 13:29:32 -0700
committerMark Brown <broonie@kernel.org>2026-07-30 19:42:36 +0100
commit26bbeaa8b3b9a4c2b6aa44b1a726b0b4e828d349 (patch)
tree3abaaab3c5ac2fd5f5d1b891ebb2a04094da33e3 /tools/perf/scripts/python
parent09d083d6757ab31a38245d316a1032c69687843c (diff)
spi: ppc4xx: use of_property_read_u32 for clock frequency
Replace of_get_property with of_property_read_u32 for the "clock-frequency" property, which is the modern typed DT accessor that returns an error code directly and avoids the raw const unsigned int * pointer dance. Also drop the dev_err_probe wrapper on devm_request_irq failure, returning ret directly since the core already logs probe errors. Get rid of irqnum in the private struct. It's only used in _probe. Was used in _remove before devm to free the irq. Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260728202932.16207-1-rosenp@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions