]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29d639a6c81b84feee3b22b3480594117f99458b
tree7bfaaeea3d8eadd2006c678cc8ea36d17f805844
parenta1d2ff466964d7f75eda5e5c2f98e68221c26bda
regulator: core: Use dev_get_regmap() to find the regmap

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>
drivers/regulator/core.c