]> git.sur5r.net Git - u-boot/commitdiff
palmas: rename twl6035_mmc1_poweron_ldo with an palmas generic function
authorNishanth Menon <nm@ti.com>
Tue, 26 Mar 2013 05:20:56 +0000 (05:20 +0000)
committerTom Rini <trini@ti.com>
Fri, 10 May 2013 12:25:55 +0000 (08:25 -0400)
Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs,
rename twl6035_mmc1_poweron_ldo by a more generic palmas_mmc1_poweron_ldo
function.

Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/mmc/omap_hsmmc.c
drivers/power/palmas.c
include/palmas.h

index b39db9e32fe05900a6e60e664556190199c80b1e..afdfa886e8a013d44e6b3e759b8662ccc8c6bf80 100644 (file)
@@ -117,7 +117,7 @@ static void omap5_pbias_config(struct mmc *mmc)
        value |= SDCARD_BIAS_HIZ_MODE;
        writel(value, (*ctrl)->control_pbias);
 
-       twl6035_mmc1_poweron_ldo();
+       palmas_mmc1_poweron_ldo();
 
        value = readl((*ctrl)->control_pbias);
        value &= ~SDCARD_BIAS_HIZ_MODE;
index bf36a19aa1e7a7c6fd059652c675ea7baeaa1d82..489a7a9fe296502716c86b43c74758f64a24c16f 100644 (file)
@@ -50,7 +50,7 @@ void palmas_init_settings(void)
        return;
 }
 
-int twl6035_mmc1_poweron_ldo(void)
+int palmas_mmc1_poweron_ldo(void)
 {
        u8 val = 0;
 
index 6618aad49167fa852b78b9e932b231c718fb1386..305092e1ceed88d97a666bbb14e70c68f0015f67 100644 (file)
@@ -39,4 +39,4 @@
 int twl6035_i2c_write_u8(u8 chip_no, u8 val, u8 reg);
 int twl6035_i2c_read_u8(u8 chip_no, u8 *val, u8 reg);
 void palmas_init_settings(void);
-int twl6035_mmc1_poweron_ldo(void);
+int palmas_mmc1_poweron_ldo(void);