diff options
| author | 2019-08-29 17:22:34 +0800 | |
|---|---|---|
| committer | 2019-09-03 16:46:17 +0200 | |
| commit | a31f01777bc54a0a9d57628956d05f8d454d3418 (patch) | |
| tree | eabb787a1fc1f028328e58e87a25ed68df1cd246 /drivers/base/platform.c | |
| parent | device connection: Add fwnode_connection_find_match() (diff) | |
| download | wireguard-linux-a31f01777bc54a0a9d57628956d05f8d454d3418.tar.xz wireguard-linux-a31f01777bc54a0a9d57628956d05f8d454d3418.zip | |
usb: roles: Add fwnode_usb_role_switch_get() function
The fwnode_usb_role_switch_get() function is exactly the
same as usb_role_switch_get(), except that it takes struct
fwnode_handle as parameter instead of struct device.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Tested-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1567070558-29417-8-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions
