aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/usbmisc_imx6q.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/chipidea/usbmisc_imx6q.c')
-rw-r--r--drivers/usb/chipidea/usbmisc_imx6q.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/usbmisc_imx6q.c b/drivers/usb/chipidea/usbmisc_imx6q.c
index 845efe29e6b9..a1bce391e825 100644
--- a/drivers/usb/chipidea/usbmisc_imx6q.c
+++ b/drivers/usb/chipidea/usbmisc_imx6q.c
@@ -98,9 +98,9 @@ static int usbmisc_imx6q_probe(struct platform_device *pdev)
98 spin_lock_init(&data->lock); 98 spin_lock_init(&data->lock);
99 99
100 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 100 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
101 data->base = devm_request_and_ioremap(&pdev->dev, res); 101 data->base = devm_ioremap_resource(&pdev->dev, res);
102 if (!data->base) 102 if (IS_ERR(data->base))
103 return -EADDRNOTAVAIL; 103 return PTR_ERR(data->base);
104 104
105 data->clk = devm_clk_get(&pdev->dev, NULL); 105 data->clk = devm_clk_get(&pdev->dev, NULL);
106 if (IS_ERR(data->clk)) { 106 if (IS_ERR(data->clk)) {