]> git.sur5r.net Git - u-boot/commit
musb: sunxi: Use simple way to fill musb_hdrc pdata
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:19 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
commit98424b703113d6387ce004d79d98e238989d59c2
treedebc7dc116c437598d3bd274d40355375d7c93a0
parentae8b78de30e923f4797da3edcf1f64f301782c2b
musb: sunxi: Use simple way to fill musb_hdrc pdata

Filling musb_hdrc pdata using structure will unnecessary
add extra ifdefs, so fill them inside probe call for
better code understanding and get rid ifdefs using
devicetree compatible.

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