diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2018-12-04 11:30:56 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-12-14 17:59:10 +0100 |
commit | 1594c75b3e285cac2ed19f958a0918ee677e4286 (patch) | |
tree | 8948687432e8061cc9a3a743629ac6e378f7b9ef /drivers/usb/musb-new/musb_gadget.c | |
parent | 2f829af946fae52854bf796f307e686c1efff6aa (diff) |
usb: musb-new: Allow the diver not to use the set_phy_power() callback
The set_phy_power() callback is part of struct omap_musb_board_data. This
structure is part of the platform data passed to the musb-new driver. This
does not really fit with the Driver Model, so allow not to use struct
omap_musb_board_data to turn the phy on or off.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb/musb-new/musb_gadget.c')
0 files changed, 0 insertions, 0 deletions