ASoC: kirkwood-i2s: use devm_* APIs

Simplify the cleanup paths in the driver by using the devm_* APIs,
ensuring that all error paths are correctly checked.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Russell King 2012-11-20 12:19:33 +00:00 • committed by Mark Brown
commit dbc517bf32
2 changed files with 15 additions and 39 deletions