]> git.sur5r.net Git - u-boot/commit
usb: sunxi: Simplify ccm reg base code
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:17 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
commit831cc98b1f8cf81cf34185e34b2021e2766eb4d8
tree0520217106810431ee6c54d9ee9189091c932868
parent3def2f8dbb4db982bb6f2fa9eca2debe29738325
usb: sunxi: Simplify ccm reg base code

Move struct sunxi_ccm_reg pointer to private structure
so-that accessing ccm reg base become more proper way
and avoid local initialization in each function.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
drivers/usb/host/ehci-sunxi.c
drivers/usb/host/ohci-sunxi.c
drivers/usb/musb-new/sunxi.c