diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-10-18 19:36:09 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-15 14:23:17 +0900 |
commit | 64e481603ab46bcd1466fdaffca50f25bf123f83 (patch) | |
tree | 0f1adf3c4916d3df3c026924bfc69d63f69a6705 /drivers/regulator/max8925-regulator.c | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff) |
mfd: tps6586x: move regulator dt parsing to regulator driver
Moving regulator node parsing to regulator driver in place
of parsing it on mfd driver.
The motivation for this change are:
- MFD core driver should not depends on regulator and able
to instantiate device without regulator.
- The API for matching regulators are in regulator core and
it is good that regulator driver only calls this API.
- Regulator specific support should be in regulator driver only
to ease any enhancement/modification for regulators.
- The regulator driver is now registered as mfd sub device and
all regulator registration is done from single probe call.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max8925-regulator.c')
0 files changed, 0 insertions, 0 deletions