aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon2013-03-26 00:20:55 -0500
committerTom Rini2013-05-10 07:25:55 -0500
commit12733881e94018f9a9b0cdb72c7ab55638142220 (patch)
tree3e2ea2f89533a31efcfbf844e1970b77d94c48ac
parentcb199102b06c5d895d2495c62554c5be998b234b (diff)
downloadu-boot-12733881e94018f9a9b0cdb72c7ab55638142220.tar.gz
u-boot-12733881e94018f9a9b0cdb72c7ab55638142220.tar.xz
u-boot-12733881e94018f9a9b0cdb72c7ab55638142220.zip
palmas: rename init_settings to an generic palmas init
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>
-rw-r--r--board/ti/omap5_uevm/evm.c2
-rw-r--r--drivers/power/palmas.c2
-rw-r--r--include/palmas.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c
index 701842bdd1..46db1bfe66 100644
--- a/board/ti/omap5_uevm/evm.c
+++ b/board/ti/omap5_uevm/evm.c
@@ -64,7 +64,7 @@ int board_eth_init(bd_t *bis)
64int misc_init_r(void) 64int misc_init_r(void)
65{ 65{
66#ifdef CONFIG_PALMAS_POWER 66#ifdef CONFIG_PALMAS_POWER
67 twl6035_init_settings(); 67 palmas_init_settings();
68#endif 68#endif
69 return 0; 69 return 0;
70} 70}
diff --git a/drivers/power/palmas.c b/drivers/power/palmas.c
index 8ed77421d6..bf36a19aa1 100644
--- a/drivers/power/palmas.c
+++ b/drivers/power/palmas.c
@@ -45,7 +45,7 @@ static inline int palmas_read_u8(u8 chip_no, u8 reg, u8 *val)
45 return i2c_read(chip_no, reg, 1, val, 1); 45 return i2c_read(chip_no, reg, 1, val, 1);
46} 46}
47 47
48void twl6035_init_settings(void) 48void palmas_init_settings(void)
49{ 49{
50 return; 50 return;
51} 51}
diff --git a/include/palmas.h b/include/palmas.h
index cf836d7d6c..6618aad491 100644
--- a/include/palmas.h
+++ b/include/palmas.h
@@ -38,5 +38,5 @@
38 38
39int twl6035_i2c_write_u8(u8 chip_no, u8 val, u8 reg); 39int twl6035_i2c_write_u8(u8 chip_no, u8 val, u8 reg);
40int twl6035_i2c_read_u8(u8 chip_no, u8 *val, u8 reg); 40int twl6035_i2c_read_u8(u8 chip_no, u8 *val, u8 reg);
41void twl6035_init_settings(void); 41void palmas_init_settings(void);
42int twl6035_mmc1_poweron_ldo(void); 42int twl6035_mmc1_poweron_ldo(void);