aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDarren Hart (VMware) <[email protected]>2017-06-06 10:13:49 -0700
committerDarren Hart (VMware) <[email protected]>2017-06-06 10:15:19 -0700
commit6ee50aaa9a20c7c11c964c249440857ab58ece36 (patch)
tree95b2fe7faedc95aaa75a2971edabff4397402d28 /tools/perf/scripts/python
parentd4fc91adfde11c41295d1cf001bdbec5d6879016 (diff)
platform/x86: wmi: Instantiate all devices before adding them
At some point, we will want sub-drivers to get references to other devices on the same WMI bus. This change is needed to avoid races. This ends up simplifying the setup code and fixing some leaks, too. This is based on the original work of Andy Lutomirski <[email protected]>, but includes several modifications, many in response to review from Michał Kępień <[email protected]>: https://www.spinics.net/lists/platform-driver-x86/msg08201.html Signed-off-by: Darren Hart (VMware) <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Mario Limonciello <[email protected]> Cc: Pali Rohár <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Acked-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions