aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2024-01-30 13:39:47 +0100
committerUlf Hansson <[email protected]>2024-02-14 10:26:11 +0100
commit161e16a5e50a82d219b3df3ce32286b0a2ae08bd (patch)
tree06c6c30c000c42d73609cc9b9677bb2f5b813098 /tools/perf/scripts/python/export-to-postgresql.py
parent697624ee8ad557ab5417f985d2c804241a7ad30d (diff)
PM: domains: Add helper functions to attach/detach multiple PM domains
Attaching/detaching of a device to multiple PM domains has started to become a common operation for many drivers, typically during ->probe() and ->remove(). In most cases, this has lead to lots of boilerplate code in the drivers. To fixup up the situation, let's introduce a pair of helper functions, dev_pm_domain_attach|detach_list(), that driver can use instead of the open-coding. Note that, it seems reasonable to limit the support for these helpers to DT based platforms, at it's the only valid use case for now. Suggested-by: Daniel Baluta <[email protected]> Tested-by: Bryan O'Donoghue <[email protected]> Tested-by: Iuliana Prodan <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions