From: Sergei Shtylyov Date: Sat, 1 Jun 2013 21:57:18 +0000 (+0400) Subject: phy-rcar-usb: handle platform data X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~71^2~32^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7173e59e6b5f9cbde3ece66ae664454edcac6382;p=pandora-kernel.git phy-rcar-usb: handle platform data Set the USBPCTRL0 register from the passed platform data in rcar_usb_phy_init(); don't reset it to 0 in rcar_usb_phy_shutdown() anymore as that does not make sense. Also, don't allow the driver's probe to succeed when the platform data are not supplied with a device. The patch has been tested on the Marzen and BOCK-W boards. Signed-off-by: Sergei Shtylyov Acked-by: Kuninori Morimoto Acked-by: Simon Horman Acked-by: Felipe Balbi Signed-off-by: Simon Horman --- Reading git-diff-tree failed