diff options
author | Pawel Laszczak <pawell@cadence.com> | 2020-07-13 12:05:54 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-07-24 16:45:13 +0300 |
commit | b2aeb6da3d6ee562e57ad3a7d73a7de0c36ce8eb (patch) | |
tree | 87b811c90dfc29ca44b3c7f8ffdf0401c95ee7e1 /block/blk-flush.c | |
parent | f41ca26b8b178d0b7005c9bfeda88814179203b3 (diff) |
usb: cdns3: drd: simplify *switch_gadet and *switch_host
Patch split function cdns3_drd_switch_gadget and
cdns3_drd_switch_host into:
- cdns3_drd_host_on
- cdns3_drd_host_off
- cdns3_drd_gadget_on
- cdns3_drd_gadgett_off
These functions don't have any shared code so it's better to
have smaller, faster and easier functions.
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions