From: Fabio Estevam Date: Thu, 13 Jun 2013 14:59:48 +0000 (+0300) Subject: usb: chipidea: ci13xxx_imx: fix error path X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=770719df7b2cee6b4c497cfacee9cb8427fd34c2;p=pandora-kernel.git usb: chipidea: ci13xxx_imx: fix error path If usbmisc_ops->post() fails it should point the error path to release all previously acquired resources, so adjust it to call ci13xxx_remove_device(). While at it, remove the unnecessary 'plat_ci' indirection, as we can directly use the private structure. Signed-off-by: Fabio Estevam Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed