Skip to content

Commit

Permalink
regulator: Refactor tps6507x to use one tps6507x_pmic_ops for all LDO…
Browse files Browse the repository at this point in the history
…s and DCDCs

All the callback functions implementation for DCDCx and LDOx are very similar,
I think it is ok to use one tps6507x_pmic_ops for all LDOs and DCDCs.
This refactor removes a couple of duplicated code.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Mar 14, 2012
1 parent 0a41685 commit f2933d3
Showing 1 changed file with 67 additions and 201 deletions.
Loading

0 comments on commit f2933d3

Please sign in to comment.