mmc: mvsdio: use devm_ API to simplify/correct error paths.
authorAndrew Lunn <andrew@lunn.ch>
Wed, 16 Jan 2013 13:13:56 +0000 (14:13 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 23 Jan 2013 01:08:01 +0000 (01:08 +0000)
There are a number of bugs in the error paths of this driver.  Make
use of devm_ functions to simplify the cleanup on error.

Based on a patch by Russell King.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

No differences found