usb: dwc3: of-simple: allow glues without clocks
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 12 Sep 2016 18:20:22 +0000 (21:20 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Sep 2016 05:40:40 +0000 (08:40 +0300)
commit26c9cac402c491c552caf7483eda49aee095243a
tree860f7d27b14988019edcb022d4267321fba7e2ab
parent8d53e626759415700022d421e4e0eab245c2dc23
usb: dwc3: of-simple: allow glues without clocks

Instead of erroring out when we don't have clocks,
let's just avoid any calls to the clk API.

Tested-by: Steven J. Hill <Steven.Hill@cavium.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-of-simple.c