projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/usb/host/ohci-nxp.c: adjust inconsistent IS_ERR and PTR_ERR
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
host
/
ohci-nxp.c
diff --git
a/drivers/usb/host/ohci-nxp.c
b/drivers/usb/host/ohci-nxp.c
index a446386bf779208518b760ffcfb94cc346dc4f5b..c60066a636068addf10ad8b66539fd370ce6af71 100644
(file)
--- a/
drivers/usb/host/ohci-nxp.c
+++ b/
drivers/usb/host/ohci-nxp.c
@@
-355,7
+355,7
@@
static int __devinit usb_hcd_nxp_probe(struct platform_device *pdev)
usb_otg_clk = clk_get(&pdev->dev, "ck_usb_otg");
if (IS_ERR(usb_otg_clk)) {
dev_err(&pdev->dev, "failed to acquire USB DEV Clock\n");
- ret = PTR_ERR(usb_
dev
_clk);
+ ret = PTR_ERR(usb_
otg
_clk);
goto out6;
}