aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-02-23 16:52:56 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-18 14:27:26 +0100
commit9ad307213fa4081f4bc2f2daa31d4f2d35d7a213 (patch)
treecb9a8558871923771c992692a1f06bc03c44d713 /tools/perf/scripts/python/bin/stackcollapse-record
parent5bff9632b538d63f61f1c4bba891a8f09f254369 (diff)
driver core: Refactor multiple copies of device cleanup
There are 3 copies of the same device cleanup code used for probe failure, testing re-probing, and device unbinding. Changes to this code often miss at least one of the copies of the code. See commits d0243bbd5dd3 ("drivers core: Free dma_range_map when driver probe failed") and d8f7a5484f21 ("driver core: Free DMA range map when device is released") for example. Let's refactor the code to its own function. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220223225257.1681968-2-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions