aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2022-09-05 19:15:23 -0700
committerLorenzo Pieralisi <[email protected]>2022-09-14 17:45:47 +0200
commita6b9ede1f3dfa5477791ad92d11f60f50998b689 (patch)
tree2a2c7a35cd441f1ac1a80095a91b8b47028fd9ce /tools/perf/scripts/python/bin/export-to-postgresql-report
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
PCI: apple: Do not leak reset GPIO on unbind/unload/error
The driver allocates reset GPIO in apple_pcie_setup_port() but neither releases the resource, nor uses devm API to have it released automatically. Let's fix this by switching to devm API. While at it let's use generic devm_fwnode_gpiod_get() instead of OF-specific gpiod_get_from_of_node() - this will allow us top stop exporting the latter down the road. Link: https://lore.kernel.org/r/[email protected] Fixes: 1e33888fbe44 ("PCI: apple: Add initial hardware bring-up") Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Hector Martin <[email protected]> Acked-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions