summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-27 13:15:43 -0700
committerMark Brown <broonie@kernel.org>2026-08-05 00:11:46 +0100
commit362a11ef1beadbc301ea949b85748e6bd1e0f384 (patch)
treebced47cc39c22452dacf474d7483a7d850d61ae2 /tools/perf/scripts/python/flamegraph.py
parentd2f5a606710ad70c341dc609430a20a5645618d5 (diff)
spi: ath79: use devm everywhere in probe
Use devm_spi_alloc_host() instead of spi_alloc_host() so that the spi controller is automatically freed on probe failure or device removal. This lets us eliminate the err_put_host label and goto error path in probe, as well as the spi_controller_put() call in remove. It's also a bit weird as everything in probe is using devm except the first allocating function. Might fix an ordering issue on teardown. Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260727201543.18857-1-rosenp@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions