diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2019-08-29 17:22:34 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-03 16:46:17 +0200 |
commit | a31f01777bc54a0a9d57628956d05f8d454d3418 (patch) | |
tree | eabb787a1fc1f028328e58e87a25ed68df1cd246 /drivers/base/devcon.c | |
parent | 44493062abc38e5895e0cf8d22698f2ca39a1e4d (diff) | |
download | linux-a31f01777bc54a0a9d57628956d05f8d454d3418.tar.gz linux-a31f01777bc54a0a9d57628956d05f8d454d3418.tar.bz2 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/devcon.c')
0 files changed, 0 insertions, 0 deletions