]> git.ipfire.org Git - people/ms/u-boot.git/commit
usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 15 Feb 2018 11:42:11 +0000 (17:12 +0530)
committerMarek Vasut <marex@denx.de>
Thu, 15 Feb 2018 12:44:30 +0000 (13:44 +0100)
commitb16c129c2290d26e7b16b4309713c78f6146bc8a
treeb8185dabe62b6b6a89e2b974d7910f31826a1fc1
parent163f8858ae8bfcd94ef8d6c4ed75ff3abb642450
usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

board_usb_init()/_cleanup() should be in board files and don't have
a place in the xhci-omap driver. Weak versions for
board_usb_init()/_cleanup() already exist in common/usb.c
(for host mode) and drivers/usb/gadget/g_dnl.c (for gadget mode).

Therefore, remove init and cleanup functions from xhci-omap and
implement them in the board files.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
board/compulab/cl-som-am57x/cl-som-am57x.c
board/compulab/cm_t43/cm_t43.c
board/ti/am43xx/board.c
board/ti/am57xx/board.c
board/ti/dra7xx/evm.c
drivers/usb/host/xhci-omap.c