From: Sascha Hauer Date: Thu, 4 Apr 2013 09:25:05 +0000 (+0200) Subject: pata_imx: cleanup error path X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~91^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff540d029af1a5744fbf7c9b837801e46f683556;p=pandora-kernel.git pata_imx: cleanup error path - rename free_priv label to 'err' since priv is allocated with devm_* and not freed here. - add missing 'goto err' in case ata_host_activate fails - add 'ret' variable to return correct error value instead of hardcoded -ENOMEM in error case. Signed-off-by: Sascha Hauer Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed