]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commitdiff
palmas: rename init_settings to an generic palmas init
authorNishanth Menon <nm@ti.com>
Tue, 26 Mar 2013 05:20:55 +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_init_settings with an more generic palmas_init_settings

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

index 701842bdd1dd9d449787ad708236c0baaeb48058..46db1bfe6640b4569d2789a6d5da2ab2a748ca19 100644 (file)
@@ -64,7 +64,7 @@ int board_eth_init(bd_t *bis)
 int misc_init_r(void)
 {
 #ifdef CONFIG_PALMAS_POWER
-       twl6035_init_settings();
+       palmas_init_settings();
 #endif
        return 0;
 }
index 8ed77421d6b6d59d436cd914623610aadf50b54c..bf36a19aa1e7a7c6fd059652c675ea7baeaa1d82 100644 (file)
@@ -45,7 +45,7 @@ static inline int palmas_read_u8(u8 chip_no, u8 reg, u8 *val)
        return i2c_read(chip_no, reg, 1, val, 1);
 }
 
-void twl6035_init_settings(void)
+void palmas_init_settings(void)
 {
        return;
 }
index cf836d7d6c5f1d6e061f6becb86759e4d77dd4c7..6618aad49167fa852b78b9e932b231c718fb1386 100644 (file)
@@ -38,5 +38,5 @@
 
 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 twl6035_init_settings(void);
+void palmas_init_settings(void);
 int twl6035_mmc1_poweron_ldo(void);