crypto: mv_cesa - fixup error handling in mv_probe()
authorDan Carpenter <error27@gmail.com>
Wed, 26 May 2010 00:45:22 +0000 (10:45 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 May 2010 00:45:22 +0000 (10:45 +1000)
The error handling in mv_probe() was a bit messed up.  There were some
gotos to the wrong labels so it ended up releasing stuff that that hadn't
been aquired and not releasing stuff that was meant to be released.  I
shuffled it around a bit to fix it and make it clearer.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found