summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb19910)
raw | patch | inline | side by side (parent: cb19910)
author | Nishanth Menon <nm@ti.com> | |
Tue, 26 Mar 2013 05:20:55 +0000 (05:20 +0000) | ||
committer | Tom 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>
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 | patch | blob | history | |
drivers/power/palmas.c | patch | blob | history | |
include/palmas.h | patch | blob | history |
index 701842bdd1dd9d449787ad708236c0baaeb48058..46db1bfe6640b4569d2789a6d5da2ab2a748ca19 100644 (file)
int misc_init_r(void)
{
#ifdef CONFIG_PALMAS_POWER
- twl6035_init_settings();
+ palmas_init_settings();
#endif
return 0;
}
diff --git a/drivers/power/palmas.c b/drivers/power/palmas.c
index 8ed77421d6b6d59d436cd914623610aadf50b54c..bf36a19aa1e7a7c6fd059652c675ea7baeaa1d82 100644 (file)
--- a/drivers/power/palmas.c
+++ b/drivers/power/palmas.c
return i2c_read(chip_no, reg, 1, val, 1);
}
-void twl6035_init_settings(void)
+void palmas_init_settings(void)
{
return;
}
diff --git a/include/palmas.h b/include/palmas.h
index cf836d7d6c5f1d6e061f6becb86759e4d77dd4c7..6618aad49167fa852b78b9e932b231c718fb1386 100644 (file)
--- a/include/palmas.h
+++ b/include/palmas.h
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);