diff options
| author | Patrice Chotard <[email protected]> | 2022-09-06 08:15:26 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2022-10-10 18:08:18 +0200 |
| commit | 84e561407a5f62a8746dcf8f920e4682690435a0 (patch) | |
| tree | f09f2e8d1ea772812c45b7c0bbba336342b1dcc8 /include/linux/string.h | |
| parent | 7cc1af902dfad290ab39b0ee52128b18d83a151a (diff) | |
phy: Add generic_{setup,shutdown}_phy() helpers
In drivers usb/host/{ehci,ohci}-generic.c, {ehci,ohci}_setup_phy() and
{ehci,ohci}_shutdown_phy() shares 95% of common code.
Factorize this code in new generic_{setup,shudown}_phy() functions.
Signed-off-by: Patrice Chotard <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
