usb: spear-ehci/ohci: Do clk_get using dev-id
authorAmardeep Rai <amardeep.rai-ext@st.com>
Thu, 8 Nov 2012 15:07:58 +0000 (20:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2012 20:15:20 +0000 (12:15 -0800)
commitd8fd7d5ae3e0561920b38647793b1947e07c7acf
tree0516dd9424ebfa62eddcce59683388e0b279e059
parentbc13364b3413a3815740c4a2f087e06f1b7ed850
usb: spear-ehci/ohci: Do clk_get using dev-id

We used to get clk using con-id, but now we have device struct available for
these devices as they are probed using DT. And so must get clk using dev-id.

Signed-off-by: Amardeep Rai <amardeep.rai-ext@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-spear.c
drivers/usb/host/ohci-spear.c