musb: sunxi: Use simple way to fill musb_hdrc pdata
authorJagan Teki <[email protected]>
Mon, 7 May 2018 07:33:19 +0000 (13:03 +0530)
committerJagan Teki <[email protected]>
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 <[email protected]>
Acked-by: Jun Nie <[email protected]>
drivers/usb/musb-new/sunxi.c