Based on the discussion we had at:

http://marc.info/?l=linux-omap&m=124083364321017&w=2

I am sending the following patches which allows one to move the board-dependent
regulator-specific code to a newly created file drivers\regulator\pmic.c. This
file will have the board specific information for different regulators and
it will do the regulator initialization depending on one which is available.

Anuj Aggarwal (3):
  Regulator: Add pmic.c file to regulator framework
  Regulator: Add TPS65023 Regulator Driver
  Regulator: Added board-dependent code for TPS65023

 drivers/regulator/Kconfig              |    8 +
 drivers/regulator/Makefile             |    3 +-
 drivers/regulator/pmic.c               |  195 ++++++++++++
 drivers/regulator/tps65023-regulator.c |  510 ++++++++++++++++++++++++++++++++
 include/linux/regulator/pmic.h         |   29 ++
 5 files changed, 744 insertions(+), 1 deletions(-)
 create mode 100644 drivers/regulator/pmic.c
 create mode 100644 drivers/regulator/tps65023-regulator.c
 create mode 100644 include/linux/regulator/pmic.h

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to