From ff540d029af1a5744fbf7c9b837801e46f683556 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 4 Apr 2013 11:25:05 +0200 Subject: [PATCH] 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-format-patch failed