From: Rahul Ruikar Date: Wed, 20 Oct 2010 23:01:51 +0000 (-0700) Subject: USB: gadget: amd5536udc.c: fix error path X-Git-Tag: v2.6.37-rc1~154^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f34c25ed78df6d1297db2187bf5e58aaf6674183;p=pandora-kernel.git USB: gadget: amd5536udc.c: fix error path In function udc_probe() call put_device() when device_register() fails. Signed-off-by: Rahul Ruikar Acked-by: Thomas Dahlmann Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed