regulator: core: Move helpers for drivers out into a separate file
Mark Brown
maintainerPATCH 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.
Signed-off-by Mark Brown <[email protected]>
--- 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
@@ -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