[PATCH 105/149] global: Migrate CONFIG_POWER_PFUZE3000_I2C_ADDR to CFG

Tom Rini
2022-12-04T15:26:31Z

Perform a simple rename of CONFIG_POWER_PFUZE3000_I2C_ADDR to CFG_POWER_PFUZE3000_I2C_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
---
drivers/power/pmic/pmic_pfuze3000.c | 2 +-
include/configs/cl-som-imx7.h | 2 +-
include/configs/pico-imx7d.h | 2 +-
include/configs/udoo_neo.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/power/pmic/pmic_pfuze3000.c b/drivers/power/pmic/pmic_pfuze3000.c
index 1077fa5e9d98..a6d97252bc9e 100644
--- a/drivers/power/pmic/pmic_pfuze3000.c
+++ b/drivers/power/pmic/pmic_pfuze3000.c
@@ -23,7 +23,7 @@ int power_pfuze3000_init(unsigned char bus)
p->name = name;
p->interface = PMIC_I2C;
p->number_of_regs = PFUZE3000_NUM_OF_REGS;
- p->hw.i2c.addr = CONFIG_POWER_PFUZE3000_I2C_ADDR;
+ p->hw.i2c.addr = CFG_POWER_PFUZE3000_I2C_ADDR;
p->hw.i2c.tx_num = 1;
p->bus = bus;

diff --git a/include/configs/cl-som-imx7.h b/include/configs/cl-som-imx7.h
index 0a667c60b61b..280ae1e9cca8 100644
--- a/include/configs/cl-som-imx7.h
+++ b/include/configs/cl-som-imx7.h
@@ -19,7 +19,7 @@
#define IMX_FEC_BASE ENET_IPS_BASE_ADDR

/* PMIC */
-#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE3000_I2C_ADDR 0x08

#define CFG_SYS_I2C_PCA953X_ADDR 0x20
#define CFG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index fd8962e9f751..5774184300c2 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -98,7 +98,7 @@
#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE

/* PMIC */
-#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE3000_I2C_ADDR 0x08

/* FLASH and environment organization */

diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 842abb7b7a22..80386414f89f 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -62,7 +62,7 @@
#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE

/* PMIC */
-#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
+#define CFG_POWER_PFUZE3000_I2C_ADDR 0x08
#define PFUZE3000_I2C_BUS 0

#endif /* __CONFIG_H */
--
2.25.1