diff mbox

[U-Boot,02/28] power: Move as3722 pmic to pmic/ directory

Message ID 20170427042811.14228-3-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass April 27, 2017, 4:27 a.m. UTC
Most of the PMICs are in the drivers/power/pmic/ directory. Move this one
there.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/power/Makefile            | 1 -
 drivers/power/pmic/Makefile       | 1 +
 drivers/power/{ => pmic}/as3722.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/power/{ => pmic}/as3722.c (100%)

Comments

Tom Rini May 1, 2017, 11:29 a.m. UTC | #1
On Wed, Apr 26, 2017 at 10:27:45PM -0600, Simon Glass wrote:

> Most of the PMICs are in the drivers/power/pmic/ directory. Move this one
> there.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index 29e135756b..90a3b00a7c 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -5,7 +5,6 @@ 
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-$(CONFIG_PMIC_AS3722)	+= as3722.o
 obj-$(CONFIG_AXP152_POWER)	+= axp152.o
 obj-$(CONFIG_AXP209_POWER)	+= axp209.o
 obj-$(CONFIG_AXP221_POWER)	+= axp221.o
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index 40240c7936..5f1bef33cd 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -12,6 +12,7 @@  obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze100.o
 obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o
 obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o
 obj-$(CONFIG_PMIC_ACT8846) += act8846.o
+obj-$(CONFIG_PMIC_AS3722) += as3722.o
 obj-$(CONFIG_PMIC_MAX8997) += max8997.o
 obj-$(CONFIG_PMIC_PM8916) += pm8916.o
 obj-$(CONFIG_PMIC_RK808) += rk808.o
diff --git a/drivers/power/as3722.c b/drivers/power/pmic/as3722.c
similarity index 100%
rename from drivers/power/as3722.c
rename to drivers/power/pmic/as3722.c