ASoC: io: Use dev_get_regmap() if driver doesn't provide a regmap
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 May 2012 16:46:36 +0000 (17:46 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:06:41 +0000 (13:06 +0100)
commit210cb67cb5b9f9a23b7ce91de50bab357440ba9d
treeaecabeefa9269d385583b0aa2a54e6a7eac362f1
parent51cc7ed3e378a60a3413a7e424f536e4dec3f39d
ASoC: io: Use dev_get_regmap() if driver doesn't provide a regmap

Less error prone and one less line of code in drivers.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-io.c