regulator: core: Use dev_get_regmap() to find the regmap
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 May 2012 17:10:45 +0000 (18:10 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:20:34 +0000 (13:20 +0100)
If no regmap is explicitly specified then use dev_get_regmap() to obtain
one. The driver must explicitly enable any actual usage of the regmap
so there's no concern with unwanted usage.

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

No differences found