Commit 92b48df24eec49ed1eb0ec9c5f6165d8282153ea
1 parent
784173723e
Exists in
master
and in
39 other branches
usb: musb: drop board_set_vbus
that's not used anymore. So let's drop it. Signed-off-by: Felipe Balbi <balbi@ti.com>
Showing 7 changed files with 0 additions and 15 deletions Side-by-side Diff
drivers/usb/musb/am35x.c
drivers/usb/musb/blackfin.c
drivers/usb/musb/da8xx.c
... | ... | @@ -437,8 +437,6 @@ |
437 | 437 | if (is_host_enabled(musb)) |
438 | 438 | setup_timer(&otg_workaround, otg_timer, (unsigned long)musb); |
439 | 439 | |
440 | - musb->board_set_vbus = da8xx_musb_set_vbus; | |
441 | - | |
442 | 440 | /* Reset the controller */ |
443 | 441 | musb_writel(reg_base, DA8XX_USB_CTRL_REG, DA8XX_SOFT_RESET_MASK); |
444 | 442 |
drivers/usb/musb/davinci.c
... | ... | @@ -404,7 +404,6 @@ |
404 | 404 | if (is_host_enabled(musb)) |
405 | 405 | setup_timer(&otg_workaround, otg_timer, (unsigned long) musb); |
406 | 406 | |
407 | - musb->board_set_vbus = davinci_musb_set_vbus; | |
408 | 407 | davinci_musb_source_power(musb, 0, 1); |
409 | 408 | |
410 | 409 | /* dm355 EVM swaps D+/D- for signal integrity, and |
drivers/usb/musb/musb_core.c
... | ... | @@ -2000,7 +2000,6 @@ |
2000 | 2000 | * - may initialize an integrated tranceiver |
2001 | 2001 | * - initializes musb->xceiv, usually by otg_get_transceiver() |
2002 | 2002 | * - stops powering VBUS |
2003 | - * - assigns musb->board_set_vbus if host mode is enabled | |
2004 | 2003 | * |
2005 | 2004 | * There are various transciever configurations. Blackfin, |
2006 | 2005 | * DaVinci, TUSB60x0, and others integrate them. OMAP3 uses |
drivers/usb/musb/musb_core.h
... | ... | @@ -412,11 +412,6 @@ |
412 | 412 | struct timer_list otg_timer; |
413 | 413 | #endif |
414 | 414 | |
415 | - /* called with IRQs blocked; ON/nonzero implies starting a session, | |
416 | - * and waiting at least a_wait_vrise_tmout. | |
417 | - */ | |
418 | - void (*board_set_vbus)(struct musb *, int is_on); | |
419 | - | |
420 | 415 | struct dma_controller *dma_controller; |
421 | 416 | |
422 | 417 | struct device *controller; |
drivers/usb/musb/omap2430.c
... | ... | @@ -268,9 +268,6 @@ |
268 | 268 | musb_readl(musb->mregs, OTG_INTERFSEL), |
269 | 269 | musb_readl(musb->mregs, OTG_SIMENABLE)); |
270 | 270 | |
271 | - if (is_host_enabled(musb)) | |
272 | - musb->board_set_vbus = omap2430_musb_set_vbus; | |
273 | - | |
274 | 271 | setup_timer(&musb_idle_timer, musb_do_idle, (unsigned long) musb); |
275 | 272 | |
276 | 273 | return 0; |