aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorPrashant Malani <[email protected]>2022-11-22 22:05:36 +0000
committerGreg Kroah-Hartman <[email protected]>2022-11-29 08:56:09 +0100
commit032399819dd5f135e6ffe446c8e97ab54eec3464 (patch)
tree725f3243eaff4c4e7fab45e293d367998b65a116 /scripts/gdb/linux/device.py
parent03a88b0bafbe3f548729d970d8366f48718c9b19 (diff)
usb: typec: Add partner PD object wrapper
Some port drivers may want to set a Type-C partner as a parent for a USB Power Delivery object, but the Type-C partner struct isn't exposed outside of the Type-C class driver. Add a wrapper to usb_power_delivery_register() which sets the provided Type-C partner as a parent to the USB PD object. This helps to avoid exposing the Type-C partner's device struct unnecessarily. Cc: Benson Leung <[email protected]> Suggested-by: Heikki Krogerus <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Signed-off-by: Prashant Malani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions