summaryrefslogtreecommitdiffstats
path: root/kernel/groups.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-04 11:25:05 +0200
committerJeff Garzik <jgarzik@redhat.com>2013-04-12 01:37:46 +0200
commitff540d029af1a5744fbf7c9b837801e46f683556 (patch)
tree38277a6c8b9dc547960b49ff85b688c484d3cac1 /kernel/groups.c
parentpata_imx: Use devm_clk_get (diff)
downloadlinux-ff540d029af1a5744fbf7c9b837801e46f683556.tar.xz
linux-ff540d029af1a5744fbf7c9b837801e46f683556.zip
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>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions