diff options
Diffstat (limited to 'drivers/usb/otg/ab8500-usb.c')
-rw-r--r-- | drivers/usb/otg/ab8500-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/ab8500-usb.c b/drivers/usb/otg/ab8500-usb.c index e6371ff5f583..a84af677dc59 100644 --- a/drivers/usb/otg/ab8500-usb.c +++ b/drivers/usb/otg/ab8500-usb.c @@ -489,7 +489,7 @@ static int __devinit ab8500_usb_probe(struct platform_device *pdev) return -ENOMEM; otg = kzalloc(sizeof *otg, GFP_KERNEL); - if (!ab->phy.otg) { + if (!otg) { kfree(ab); return -ENOMEM; } |