global: Migrate CONFIG_FSL_PMIC_CLK to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:00 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:09:43 +0000 (10:09 -0500)
Perform a simple rename of CONFIG_FSL_PMIC_CLK to CFG_FSL_PMIC_CLK

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/power/power_fsl.c
include/configs/mx51evk.h

index eace4dd7e433f2cc32d4278659a6ed486abc7d3f..a576d1570b112191b4adf51d4b6cba596b6163e4 100644 (file)
@@ -40,7 +40,7 @@ int pmic_init(unsigned char bus)
 #if defined(CONFIG_POWER_SPI)
        p->interface = PMIC_SPI;
        p->hw.spi.cs = CONFIG_FSL_PMIC_CS;
-       p->hw.spi.clk = CONFIG_FSL_PMIC_CLK;
+       p->hw.spi.clk = CFG_FSL_PMIC_CLK;
        p->hw.spi.mode = CONFIG_FSL_PMIC_MODE;
        p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN;
        p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END;
index 1aaa76240deb6e105aa4b9a58b9a300da41e7cf3..ee0782ebfebfca83f83a97f8dc0be3aed823b947 100644 (file)
@@ -23,7 +23,7 @@
 /* PMIC Controller */
 #define CFG_FSL_PMIC_BUS       0
 #define CONFIG_FSL_PMIC_CS     0
-#define CONFIG_FSL_PMIC_CLK    2500000
+#define CFG_FSL_PMIC_CLK       2500000
 #define CONFIG_FSL_PMIC_MODE   (SPI_MODE_0 | SPI_CS_HIGH)
 #define CFG_FSL_PMIC_BITLEN    32