Skip to contentSkip to conversation

regulator: core: Move helpers for drivers out into a separate file

PATCH New Mark Brown 1 participant 1 message Aug 6, 2013 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 regulator: core: Move helpers for drivers out into a separate file

From: Mark Brown <[email protected]>

Reduce the size of core.c a bit.

---
 drivers/regulator/Makefile  |   2 +-
 drivers/regulator/core.c    | 341 -----------------------------------------
 drivers/regulator/helpers.c | 364 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 365 insertions(+), 342 deletions(-)
 create mode 100644 drivers/regulator/helpers.c
drivers/regulator/Makefile +1 -1
index 8c14d29..4b57deb 100644
@@ -3,7 +3,7 @@
 #
 
 
-obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o
+obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o
 obj-$(CONFIG_OF) += of_regulator.o
 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o
 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o
drivers/regulator/core.c +0 -341

359 lines not on this page · raw message

drivers/regulator/helpers.c new file +364 -0

364 lines not on this page · raw message

Signature · 1 line
1.8.4.rc1