From patchwork Tue Mar 26 15:20:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 231298 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 49DCC2C00AA for ; Wed, 27 Mar 2013 02:22:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 87FEE4A126; Tue, 26 Mar 2013 16:22:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ePr+qtCOiYsN; Tue, 26 Mar 2013 16:22:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D81DC4A13B; Tue, 26 Mar 2013 16:21:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 40D614A100 for ; Tue, 26 Mar 2013 16:21:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ytu94qIRhaB9 for ; Tue, 26 Mar 2013 16:21:12 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by theia.denx.de (Postfix) with ESMTPS id 374884A10D for ; Tue, 26 Mar 2013 16:21:06 +0100 (CET) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2QFL5Wi029158 for ; Tue, 26 Mar 2013 10:21:05 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2QFL5Rw017254 for ; Tue, 26 Mar 2013 10:21:05 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Tue, 26 Mar 2013 10:21:04 -0500 Received: from localhost (kahuna.am.dhcp.ti.com [128.247.75.12]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2QFL4dZ005445; Tue, 26 Mar 2013 10:21:04 -0500 From: Nishanth Menon To: tom , Sricharan R Date: Tue, 26 Mar 2013 10:20:55 -0500 Message-ID: <1364311258-21754-8-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364311258-21754-1-git-send-email-nm@ti.com> References: <1364311258-21754-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Cc: Ruchika@theia.denx.de, u-boot , Balaji T K , Kharwar Subject: [U-Boot] [PATCH V3 07/10] palmas: rename init_settings to an generic palmas init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --- V3: new patch board/ti/omap5_evm/evm.c | 2 +- drivers/power/palmas.c | 2 +- include/palmas.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/ti/omap5_evm/evm.c b/board/ti/omap5_evm/evm.c index 701842b..46db1bf 100644 --- a/board/ti/omap5_evm/evm.c +++ b/board/ti/omap5_evm/evm.c @@ -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; } diff --git a/drivers/power/palmas.c b/drivers/power/palmas.c index 8ed7742..bf36a19 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) 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 cf836d7..6618aad 100644 --- a/include/palmas.h +++ b/include/palmas.h @@ -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);