diff options
author | Varka Bhadram <varkabhadram@gmail.com> | 2014-10-29 21:30:15 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 10:01:20 -0600 |
commit | 4d852011a505005aab50250b211c132a654cb507 (patch) | |
tree | e8185b3f83ee74c50d9784c00abc08663b860637 /drivers/usb/dwc3 | |
parent | 5a8053099c4a3fb47189575be34350ac40fb6080 (diff) | |
download | linux-4d852011a505005aab50250b211c132a654cb507.tar.bz2 |
usb: dwc3: keystone: remove duplicate check on resource
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/dwc3-keystone.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/dwc3/dwc3-keystone.c b/drivers/usb/dwc3/dwc3-keystone.c index 7ec8495f4523..dd8d2df6db31 100644 --- a/drivers/usb/dwc3/dwc3-keystone.c +++ b/drivers/usb/dwc3/dwc3-keystone.c @@ -104,11 +104,6 @@ static int kdwc3_probe(struct platform_device *pdev) kdwc->dev = dev; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if (!res) { - dev_err(dev, "missing usbss resource\n"); - return -EINVAL; - } - kdwc->usbss = devm_ioremap_resource(dev, res); if (IS_ERR(kdwc->usbss)) return PTR_ERR(kdwc->usbss); |