Hello. On 07-12-2010 19:38, Felipe Balbi wrote:
that structure currently only holds a device pointer to our own platform_device and musb's platform_device, but soon it will hold pointers to our clock structures and glue-specific bits and pieces.
Signed-off-by: Felipe Balbi<balbi@xxxxxx>
[...]
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index ffd5a4d..8ef693c 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c
[...]
@@ -1229,19 +1244,24 @@ static int __init tusb_probe(struct platform_device *pdev) return 0; -err1: +
Adding too many newlines here...
+err2: platform_device_put(musb); +err1: + kfree(glue); + err0: return ret; }
WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html