diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2020-03-02 16:53:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-04 11:12:49 +0100 |
commit | d1c6a769cdf466053ae211789f2b0671c8a72331 (patch) | |
tree | dba1c4ee2ce52e47bcfcc4e49a732f0b240deccb /drivers/usb/roles/intel-xhci-usb-role-switch.c | |
parent | 774a9df6aeac236282dc0ec711b73865b64ef6a1 (diff) | |
download | lwn-d1c6a769cdf466053ae211789f2b0671c8a72331.tar.gz lwn-d1c6a769cdf466053ae211789f2b0671c8a72331.zip |
usb: typec: mux: Allow the mux handles to be requested with fwnode
Introducing fwnode_typec_switch_get() and
fwnode_typec_mux_get() functions that work just like
typec_switch_get() and typec_mux_get() but they take struct
fwnode_handle as the first parameter instead of struct
device.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200302135353.56659-4-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/roles/intel-xhci-usb-role-switch.c')
0 files changed, 0 insertions, 0 deletions