commit | ff540d029af1a5744fbf7c9b837801e46f683556 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Thu Apr 04 11:25:05 2013 +0200 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Apr 11 19:37:46 2013 -0400 |
tree | 38277a6c8b9dc547960b49ff85b688c484d3cac1 | |
parent | 50f5a3415c2fc494e2bd80fc9e80cc62d64cbc3c [diff] |
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 <s.hauer@pengutronix.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>