diff options
| author | Mathias Nyman <[email protected]> | 2022-02-16 11:51:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-17 16:20:45 +0100 |
| commit | 534675942e901959b5d8dc11ea526c4e48817d8e (patch) | |
| tree | f4cbf997c07f2f40a5c2efe27ac0c84c55f92236 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e51879d85a4d58d3a6227bf2e88b770901b34ecb (diff) | |
xhci: dbc: refactor xhci_dbc_init()
Refactor xhci_dbc_init(), splitting it into logical
parts closer to the Linux device model.
- Create the fake dbc device, depends on xhci strucure
- Allocate a dbc structure, xhci agnostic
- Call xhci_dbc_tty_probe(), similar to actual probe.
Adjustments to xhci_dbc_exit and xhci_dbc_remove are also needed
as a result to the xhci_dbc_init() changes
Mostly non-functional changes, except for creating the dbc sysfs
entry earlier, together with the dbc structure.
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions