diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-20 12:19:33 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-21 10:40:23 +0900 |
commit | dbc517bf32985f2438ff706204a6dd1476b3dc98 (patch) | |
tree | 5641724bfbe6abd578bf6eabec1c6ed6ea3d218f /sound/soc/kirkwood/kirkwood.h | |
parent | 3ccdf5bbdf5f2488e4a36692d055ba9c43ae6717 (diff) | |
download | lwn-dbc517bf32985f2438ff706204a6dd1476b3dc98.tar.gz lwn-dbc517bf32985f2438ff706204a6dd1476b3dc98.zip |
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>
Diffstat (limited to 'sound/soc/kirkwood/kirkwood.h')
-rw-r--r-- | sound/soc/kirkwood/kirkwood.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/kirkwood/kirkwood.h b/sound/soc/kirkwood/kirkwood.h index f9084d83e6bd..7d92b9e32634 100644 --- a/sound/soc/kirkwood/kirkwood.h +++ b/sound/soc/kirkwood/kirkwood.h @@ -119,7 +119,6 @@ #define KIRKWOOD_SND_MAX_PERIOD_BYTES 0x4000 struct kirkwood_dma_data { - struct resource *mem; void __iomem *io; int irq; int burst; |