ASoC: kirkwood-i2s: use devm_* APIs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Nov 2012 12:19:33 +0000 (12:19 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 21 Nov 2012 01:40:23 +0000 (10:40 +0900)
commitdbc517bf32985f2438ff706204a6dd1476b3dc98
tree5641724bfbe6abd578bf6eabec1c6ed6ea3d218f
parent3ccdf5bbdf5f2488e4a36692d055ba9c43ae6717
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>
sound/soc/kirkwood/kirkwood-i2s.c
sound/soc/kirkwood/kirkwood.h